23 Dec
2004
23 Dec
'04
11:04 a.m.
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.