
David Abrahams wrote:
François Dumont <francois.cppdevs@free.fr> writes:
but for some platforms this feature is just useless. Under Win32 there is a workaround implemented for MSVC compilers (win32.hpp:60) on the min and max template functions. This workaround require the inclusion of the algorithm standard header which make the STLport lib build process failed.
I'm not exactly sure what you're referring to, but there's been some recent work on dealing with the horrible min/max macros that some headers define. Please search our mailing list archives for recent postings from Eric Niebler.
Before this goes any further, you should get the latest version of boost from CVS. The min/max hack in win32.hpp has been removed, since it was found to silently change program behavior and cause ambiguity errors. It was replaced with a different hack <g> by me. In addition to trying CVS head, you should also follow Dave's suggestion and read my posts regarding the min/max issue. The reasoning for the current hack is all in the archive. -- Eric Niebler Boost Consulting www.boost-consulting.com