[Bug libstdc++/29989] missed #undef min/max in <limits>
pcarlini at suse dot de
gcc-bugzilla@gcc.gnu.org
Sun Nov 26 13:38:00 GMT 2006
------- Comment #1 from pcarlini at suse dot de 2006-11-26 13:38 -------
As a matter of fact, I think that the undefs in stl_algobase.h are legacy
stuff, and should go away. In my opinion, we should always error in such cases,
because nobody knows whether the user means his own max / min macro, or the
facility provided by the library, when he writes max / min after <algorithm>.
This bug is actually a duplicate of 23273, but I'm keeping it open for now in
order to solicitate feedback about the above point...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29989
More information about the Gcc-bugs
mailing list