http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46544

--- Comment #4 from Sebastian Mach <phresnel at gmail dot com> 2010-11-19 
13:12:10 UTC ---
(In reply to comment #3)
> As a general rule, if you see in the code mentioned a "DR XXX.
> YYY", with _GLIBCXX_RESOLVE_LIB_DEFECTS before, it means we are implementing a
> change beyond the letter of C++98/03, per the resolution of a successive ISO
> DR. 

Allright. I never stumbled over DR code, and that's prolly the reason why I did
not recognize it (or possibly I thought that DRs are to be under -std=c++0x).
Carved into synapses for the future.

> For some time, many years ago, that _GLIBCXX_RESOLVE_LIB_DEFECTS was an
> actual macro and we tried to deliver both a vanilla C++98 and an amended
> version, depending on that macro, but it became quickly unmanageable, for
> various reasons (what to do with exported symbols, ODR, etc). 

I already wanted to ask about a switch and it's non-presence, but seeing the
number of DRs I already guessed it would be unmaintanable.

> Besides,
> according to the ISO rules, resolved DRs *are* part of the Standard in law,
> even if a completely new document does not exist yet.

That's both interesting and valuable knowledge, as I am nitpicky myself at
times :D


Thanks for sharing your time :)

Reply via email to