This is the mail archive of the gcc-help@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]

Re: gcc3.4.6: std::min and std::max


Hi Bernard,

Try putting this in the code just before line 522 and line 823:

#ifdef max
#error "BZZZT: max was defined as an evil macro function"
#endif

...or use this band-aid instead before line 522 and line 823...

#ifdef max
#undef max
#define max max
#endif

HTH,
--Eljay


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