|
Boost Users : |
From: Fernando Cuenca (FCuenca_at_[hidden])
Date: 2007-02-22 18:15:04
Hi,
I'm trying to use the regex library (from boost 1.33) with the MSVC.NET
2003 and I'm getting the following linker error when using the wide
character version of the classes:
libboost_regex-vc71-mt-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
msvcprt.lib(MSVCP71.dll)
libboost_regex-vc71-mt-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
msvcprt.lib(MSVCP71.dll)
Declaring a single wregex object is enough to get the error. Everything
works fine for regular regex objects (using regular std::strings.)
Any ideas how to solve this problem?
Thanks in advance.
Saludos!
Fernando.
--------------------------------------------------------------------------------------------------------------------
Confidentiality Notice: The information in this email is confidential and may be privileged. It is intended solely for the addressee(s). If the reader of this message is not the intended recipient, any disclosure, copying, distribution, retention or action taken or omitted to be taken in reliance on it is prohibited. If you have received this communication in error, please notify us immediately by replying to the message or by telephoning either 905-624-1260 or 1-888-672-5471 and deleting it and any attachments from your computer system.
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