Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-03-17 10:33:23


> I took out the hardcoded library and let the code
> figure it out by itself. I also removed the
> BOOST_REGEX_NO_W32 as you suggested but then I get
> compiler errors in the windows code (This was the
> reason I put BOOST_REGEX_NO_W32)
>
> Here are the errors;
> Linking to lib file:
> libboost_filesystem-vc71-mt-gd-1_32.lib
> Linking to lib file:
> libboost_regex-vc71-mt-gd-1_32.lib
> c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\WinNT.h(8390) : error
> C2143: syntax error : missing ')' before '->'
> c:\Program Files\Microsoft Visual Studio .NET
> 2003\Vc7\PlatformSDK\Include\WinNT.h(8390) : error

Well if windows.h doesn't compile I don't know what the problem is, you
could try altering the order of your #includes I suppose, but whatever the
issue is, it's beyond our control. If you still want to disable
Win32-specific support, just define BOOST_REGEX_NO_W32 in
boost/regex/user.hpp and rebuild the library as well as your code.

John.


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