Hi again, In w32_regex_traits.hpp, on line 681, it appears the static std::string s_name is having something strange happen. I keep pressing F11, and after s_name constructor is called, another f11 steps into a C runtime function atexit. Maybe this is correct, but I thought all static variables are initalised at startup, and before main / wmain is called. R Alan
From: "John Maddock"
Reply-To: boost-users@lists.boost.org To: Subject: Re: [Boost-users] Regex crash Date: Fri, 11 Aug 2006 14:03:16 +0100 Alan Gray wrote:
Hi John
The BOOST_REGEX_NO_LIB option works. So there is some sort of binary compatibi;lity problem or some problem with VS2005 linker.
For now I'll live with a fatter program (it works) but I'll revisit this when I have some spare time (hah!).
Strange. The obvious quick fix is to build as a static lib from inside your IDE using whatever options your program uses. Then your program won't be so fat - although as the VC linker strips out unused symbols that may not be an issue actually?
John.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users