Cool, thanks. I really hate modifying third party libraries.
-----Original Message----- From: John Maddock [mailto:john_maddock@compuserve.com] Sent: Saturday, July 20, 2002 5:03 AM To: Boost-Users@yahoogroups.com Subject: Re: [Boost-Users] Boost Config problem - MSVC 7, boost 1.28.0
I was running into problems with min and max being macros when attempting to port my code to .NET. When I went to look at visualc.hpp, I saw that NOMINMAX was only defined when _MSC_VER <= 1200. My break seems to have happened where a boost file was included, then a windows header came in, so the macros were enabled.
I know we are not supposed to rely on Boost.Config in our code, but it sure is nice :).
I've modified the config system so that NOMINMAX is defined in the win32 platform configuration rather than for VC6 specifically, likewise the undefs for min and max are in there now as well, hopefully this won't break anything ... :-)
John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm
------------------------ Yahoo! Groups Sponsor ---------------------~--> Access your PC just like Web Mail http://us.click.yahoo.com/r5uw2C/zncEAA/Ey.GAA/EbFolB/TM -------------------------------------------------------------- -------~->
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
----------------------------------------------------------------------- DISCLAIMER: Information contained in this message and/or attachment(s) may contain confidential information of Zetec, Inc. If you have received this transmission in error, please notify the sender by return email. -----------------------------------------------------------------------