This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/29989] missed #undef min/max in <limits>



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]