|
Boost Users : |
From: Barnali (yg-boost-users_at_[hidden])
Date: 2002-07-17 23:52:43
There are similar problems I also encountered !
My workaround was: add # define BOOST_MSVC _MSC_VER to the config file :-)
There are lot of errors I got rid of by using this.
"Tom Matelich" <tmatelich_at_[hidden]> wrote in message
news:5790CEEF83581444838043A480BDABD7FD3823_at_exchange01.zetec.com...
> 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 :).
>
> -----------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net