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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux