compiler-defined __PEDANTIC__ macro

Neil Booth neil@daikokuya.co.uk
Wed Dec 11 12:43:00 GMT 2002


Nathan Myers wrote:-

> Clearly somebody was confused.  It's one thing to reject a feature
> whose only or main purpose is to enable bad code (declaring our 
> destructors as non-throwing would be such a "feature") and quite 
> another thing to reject a feature just because it _can_ be used to 
> enable bad code, besides supporting useful semantics.  

The argument is that the same code should be compiled regardless of
warning options; something that I tend to agree with.

Neil.



More information about the Libstdc++ mailing list