C++ warnings vs. errors

Ian Lance Taylor iant@google.com
Wed Jun 11 14:48:00 GMT 2008


Volker Reichelt <v.reichelt@netcologne.de> writes:

> since Manuel's patch http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00962.html
> a lot of C++ code is now accepted on mainline (when compiling without
> special flags like -fpermissive and -pedantic), that used to be rejected.
> Instead of getting closer to the standard we get away from it, which is a
> bad idea IMHO - especially since the standard should be widely adopted by
> now, given that it's about 10 years old. So here's a collection of some
> warnings that I'd rather see as errors:

It sounds like you want to change some pedwarns to permerrors.  Go for
it.

Ian



More information about the Gcc mailing list