This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Inhibit some -pedantic warnings
- From: Ian Lance Taylor <ian at airs dot com>
- To: Guillaume Poletto <poletto at jeuxvideo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 01 Feb 2006 09:24:00 -0800
- Subject: Re: Inhibit some -pedantic warnings
- References: <43E0C457.3090307@jeuxvideo.com>
Guillaume Poletto <poletto@jeuxvideo.com> writes:
> I'd like to know if the warning inhibition option list given in man
> gcc was exhaustive. Because i'd like to shut off some particular
> warnings that appear when i compile using -Wall -pedantic.
> Especially this kind of warning :
> warning: string length `594' is greater than the length `509' ISO C89
> compilers are required to support
> I don't find the option to shut off this warning
An option was added to turn off this warning for the 4.2 release
(which is not the next release--the next release is 4.1), but there is
no option in earlier releases.
Sorry.
Ian