More on type qualifiers ignored on function return type

Brian Dessent brian@dessent.net
Tue Jun 12 17:23:00 GMT 2007


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



More information about the Gcc-help mailing list