This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: compiler-defined __PEDANTIC__ macro
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.