[Bug libstdc++/49386] #undef min/max is dependent on order if #include
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jun 13 10:58:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49386
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-06-13 10:57:46 UTC ---
Even better insert it into the c++config.h header on the broken targets.
The problem with undefining etc. anything outside of the guards means that
for this very often used header suddenly the guards won't be usable by the
preprocessor, so it will have to read and parse the header again and again.
And the header is quite largish (> 40KB), so it will make a difference.
More information about the Gcc-bugs
mailing list