|
Boost Users : |
From: John Maddock (john_at_[hidden])
Date: 2004-12-23 06:04:23
>I'm getting a handful of the following errors and warnings while trying
>to build with boost regex in MS Visual C++ .NET with the /clr option
>(managed extensions).
>The debug build works fine because config.hpp defines BOOST_REGEX_CALL
>to _cdecl. It's the release configuration that has the trouble with
>__fastcall being changed to __stdcall.
>
>How do I get around this (without getting rid of /clr or using a debug
>build)?
You'll have to modify the definition of BOOST_REGEX_CALL in
boost/regex/config.hpp so that it's __cdecl whatever the build options are
(this is what the next version will do anyway BTW).
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