Opened 15 years ago
Closed 15 years ago
#1628 closed Bugs (fixed)
Lack of wide character support prevents boost.serialization from linking
Reported by: | Owned by: | Robert Ramey | |
---|---|---|---|
Milestone: | Boost 1.35.0 | Component: | serialization |
Version: | Severity: | Showstopper | |
Keywords: | Cc: |
Description
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.
Change History (3)
comment:1 by , 15 years ago
Component: | Building Boost → serialization |
---|---|
Owner: | set to |
comment:2 by , 15 years ago
comment:3 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
To clarify, if this helps. I had problems with building boost in windows and in ubuntu, but I am happy to say that "bjam stage" and "bjam stage install" were successful in both.
That is, after I edited iterator_something.hpp for a missing paranthesis in a boost macro used at the top/bottom of the file but I can imagine that this has already been resolved in the svn. I will check tonight and if not, file another bug report.