[Boost-bugs] [Boost C++ Libraries] #1628: Lack of wide character support prevents boost.serialization from linking

Subject: [Boost-bugs] [Boost C++ Libraries] #1628: Lack of wide character support prevents boost.serialization from linking
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-08 01:50:07


#1628: Lack of wide character support prevents boost.serialization from linking
-----------------------------+----------------------------------------------
 Reporter: cole_at_[hidden] | Type: Bugs
   Status: new | Milestone: Boost 1.35.0
Component: Building Boost | Version:
 Severity: Showstopper | Keywords:
-----------------------------+----------------------------------------------
 Using MSYS and MinGW
 Using latest SVN release

 MSYS's libstdc++ does not support wchar_t and thus all files that use wide
 characters have not compiled in MSYS. This hasn't been a problem in the
 past, the lib/dll/a files have always been generated and were linked fine.

 In the latest svn however, this was not the case. There was lots of
 failure surrounding:
 {{{
 bin.v2\libs\serialization\build\gcc-mingw-3.4.5\release\threading-
 multi\codecvt_null.o:codecvt_null.cpp:(.rdata$_ZTVSt7codecvtIwciE[vtable
 for std::codecvt<wchar_t, char, int>]+0x28): undefined reference to
 `std::codecvt<wchar_t, char, int>::do_max_length() const'
 }}}


 etc....

 So I deleted most of codecvt_null.cpp leaving only the boost macro at the
 top and the include for codecvt_null.hpp. This "worked". It linked
 together and I now have my nice serialization library sitting waiting for
 me to test out.

 Hopefully I specified the correct ticket properties... I got a bit
 confused.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1628>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC