Re: [boost] std::wstring exists on GCC 3.2?
>From: "John Maddock" <[EMAIL PROTECTED]> > > I've tried to compile something which uses std::wstring on GCC 3.2 > (MinGW), > > but I get the following error at link-time: > > > > undefined reference to `std::basic_string > std::char_traits, std::allocator >::basic_string()' > > > > Using std::string works fine. Doesn't GCC 3.2 support wide character > > strings? BOOST_NO_STD_WSTRING isn't set for it. Is there any other way, > > using Boost.Config, that I can detect this? > > If you're getting a linker error then it sounds like a build problem in the > libstdc++ libs, you might want to try a mingw32 mailing list for this one, > and let us have the definitive answer, before we start modifying > boost.config. Right. It appears to be a MinGW related problem, as I've heard from others who had the same problem. Also, when testing for _GLIBCPP_USE_WCHAR_T on MinGW, it's conspicuously absent, and, searching on Google, I found this posting (http://www.geocrawler.com/mail/msg.php3?msg_id=9057201&list=6013) from June, 2002: "wide char streams aren't fully supported yet in new libstdc++.a. I'm working on it." Even if this may be fixed now in the Linux version of GCC, as was said in this thread, it may be that the MinGW version lags behind. I've asked at the MinGW site (the mailing list archive didn't work, so I posted in the bugtracker, instead), and will get back with any reply. Regards, Terje ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] std::wstring exists on GCC 3.2?
> I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW), > but I get the following error at link-time: > > undefined reference to `std::basic_string std::char_traits, std::allocator >::basic_string()' > > Using std::string works fine. Doesn't GCC 3.2 support wide character > strings? BOOST_NO_STD_WSTRING isn't set for it. Is there any other way, > using Boost.Config, that I can detect this? If you're getting a linker error then it sounds like a build problem in the libstdc++ libs, you might want to try a mingw32 mailing list for this one, and let us have the definitive answer, before we start modifying boost.config. John Maddock http://ourworld.compuserve.com/homepages/john_maddock/index.htm ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] std::wstring exists on GCC 3.2?
>From: "Lars Gullik Bjønnes" <[EMAIL PROTECTED]> > Terje Slettebø <[EMAIL PROTECTED]> writes: > > | I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW), > | but I get the following error at link-time: > > Gcc 3.2 have wstring... could the problem be how MinGW is configured? It could be. It doesn't recognise std::wcout, either. I'm using Dev-Cpp, using MinGW, with default configuration, and I haven't found any configuration setting for wide character support. When using "--ver", it does say 3.2. Does anybody else have experience with wide characters on MinGW? Regards, Terje ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Re: [boost] std::wstring exists on GCC 3.2?
Terje Slettebø <[EMAIL PROTECTED]> writes: | Hi. | | I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW), | but I get the following error at link-time: Gcc 3.2 have wstring... could the problem be how MinGW is configured? -- Lgb ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
[boost] std::wstring exists on GCC 3.2?
Hi. I've tried to compile something which uses std::wstring on GCC 3.2 (MinGW), but I get the following error at link-time: undefined reference to `std::basic_string, std::allocator >::basic_string()' Using std::string works fine. Doesn't GCC 3.2 support wide character strings? BOOST_NO_STD_WSTRING isn't set for it. Is there any other way, using Boost.Config, that I can detect this? Regards, Terje ___ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost