https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80942
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> --- On Tue, 12 Sep 2017, vincent-gcc at vinc17 dot net wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80942 > > --- Comment #4 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> --- > (In reply to [email protected] from comment #2) > > The documentation explicitly says -Wpedantic includes some warnings about > > things outside of ISO C, beyond those that violate syntax rules or > > constraints. > > This is not what is documented: > > Issue all the warnings demanded by strict ISO C and ISO C++; reject > all programs that use forbidden extensions, and some other programs > that do not follow ISO C and ISO C++. For ISO C, follows the > version of the ISO C standard specified by any -std option used. I consider this to be within the "some other programs". The question, I suppose, is whether implementation limits should be moved out of the scope of -Wpedantic.
