This is the mail archive of the gcc@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: formats and syslog question


On 14-Sep-2002, Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:
> Fergus Henderson <fjh@cs.mu.OZ.AU> writes:
> | Same is true for C++, where -pedantic-errors is the default,
> 
> I don't think that is true.

The GCC 3.2 documentation for -fpermissive says that it is:

 | `-fpermissive'
 |      Downgrade messages about nonconformant code from errors to
 |      warnings.  By default, G++ effectively sets `-pedantic-errors'
 |      without `-pedantic'; this option reverses that.  This behavior and
 |      this option are superseded by `-pedantic', which works as it does
 |      for GNU C.

So if it's not, then the behaviour doesn't match the documentation,
and IMHO the best way to fix it would be to change the behaviour
so that -pedantic-errors really is the default.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.


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