Boost logo

Boost Users :

From: Marko Bozikovic (bozho_at_[hidden])
Date: 2006-12-07 05:31:22


Hi all,

I'm looking into upgrading from Boost 1.32 to 1.33.1, but I have a problem
with regex lib. When linking my application with the regex lib (I use
automatic linking), I get multiple symbols linker error:

libboost_regex-vc71-mt-gd-1_33_1.lib(usinstances.obj) : error LNK2005:
"public: static unsigned int __cdecl std::char_traits<unsigned
short>::length(unsigned short const *)"
(?length@?$char_traits_at_G@std@@SAIPBG_at_Z) already defined in
msvcprtd.lib(MSVCP71D.dll)

libboost_regex-vc71-mt-gd-1_33_1.lib(usinstances.obj) : error LNK2005:
"public: static bool __cdecl std::char_traits<unsigned short>::eq(unsigned
short const &,unsigned short const &)" (?eq@?$char_traits_at_G@std@@SA_NABG0_at_Z)
already defined in msvcprtd.lib(MSVCP71D.dll)

With boost 1.32, everything works fine. In both 1.32 and 1.33.1, regex was
built with bjam using VC 2003 compiler, default configuration (just ran
bjam.exe "-sTOOLS=vc-7_1") STL library is the standard one, shipped with VS 2003.

Any ideas?

Thank you,

-- 
Marko
ICQ: 5990814
I'm not under the alkafluence of inkahol
that some thinkle peep I am.
It's just the drunker I sit here the longer I get.

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