This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ warnings vs. errors
- From: Ian Lance Taylor <iant at google dot com>
- To: Volker Reichelt <v dot reichelt at netcologne dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 11 Jun 2008 07:47:30 -0700
- Subject: Re: C++ warnings vs. errors
- References: <tkrat.d318c4730b1542b2@netcologne.de>
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