This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Inhibit some -pedantic warnings


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]