Brian Dessent wrote:
Jim Marshall wrote:
So the primary question is: is there a compiler switch we can use to
stop this specific warning from being displayed?
-Wno-return-type
<http://gcc.gnu.org/onlinedocs/gcc-4.2.0/gcc/Warning-Options.html#index-Wreturn_002dtype-230>.
Brian
Brian thanks for the pointer. Wish it was a separate switch though as it
would be nice to continue using the -Wreturn-type switch to prevent the
other errors (return type defaults to int and returning without a value).
Thanks
-Jim