This is the mail archive of the
mailing list for the libstdc++ project.
Re: throw specs on Standard destructors
On Wed, Dec 11, 2002 at 11:01:27AM -0800, Nathan Myers wrote:
> This is not to say we shouldn't have a cpp macro defined
> when the compiler is run with -pedantic.
This is going to be the difficult part. (Playing the devil's advocate's
filing clerk.) Historically GCC has never defined any macros based on
warning options, to prevent users from doing things like
do something safe to claim "no warnings!" and look good
do something idiotic that would be warned about
I think it took quite a bit of convincing just to get the __OPTIMIZE__
macro added for glibc's use.
I myself would like such a macro, but I doubt it's going to happen.
(I.e., I'm not the one you have to convince.)
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002