[LC++]Re: g++ 3.0 warning messages

Maurizio Umberto Puxeddu umbpux at tin.it
Sat Jul 28 02:52:07 UTC 2001


Bernhard Josef Rieder wrote:

> On Fri, Jul 27, 2001 at 11:36:49AM -0400, Jack Lloyd wrote:
> 
> 
>> The reason I'm saying this is because I have been using gcc3 and get no
>> such warnings with "-ansi -W -Wall", which is my usual warning flag
>> set.
> 
> 
> I use -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual
>       -Wcast-align -Wwrite-strings -Wconversion
> but I thing standard libraries should never cause error messages,
> no matter which warning options you use

In fact this is a know bug in 3.0. The standard library will probably 
always give warning but they agree that compiler should never print out 
warnings about system libraries if not explicitly asked for.
I think they will fix it in 3.0.1.

Regards,
Maurizio Umberto Puxeddu.




More information about the tuxCPProgramming mailing list