This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: More on type qualifiers ignored on function return type
- From: Brian Dessent <brian at dessent dot net>
- To: Jim Marshall <jim dot marshall at wbemsolutions dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 12 Jun 2007 10:11:27 -0700
- Subject: Re: More on type qualifiers ignored on function return type
- References: <f4mj6j$jpd$1@sea.gmane.org>
- Reply-to: gcc-help at gcc dot gnu dot org
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