Hi All, I'm working on Apple, so I'm stuck with some ancient stuff. I'm trying to compile with -Wall -Wextra -Wconversion, and I'm catching a warning similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38116.
The 38116 bug defers to Bug 6144 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=6614). 6144 basically tells me that the warning is for passing an argument of a different type than expected. The bizarre part when its expected: it warns about what would happen if the prototype were missing. void func (short); void short_test (void) { short x = 0; func(x); } >From the bug report example above, the warning is telling me there would be a problem if `void func (short);` was not present since it would be assumed to be `void func (int)` (if I'm reading things correctly). How do I turn off warnings for missing prototype conversions that are not even present? The bug report does not list a workaround. -Wno-traditional-conversion was unrecognized. So I'm guessing it would be similar to -Wno-conversion-prototype, but I don't see it at http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html. Jeff