Benjamin Kosnik - Re: problems with std::wstring on Solaris (original) (raw)
This is the mail archive of the libstdc++@gcc.gnu.orgmailing list for the libstdc++ project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
- From: Benjamin Kosnik
- To: "Anthony Feick"
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Wed, 21 Aug 2002 11:14:33 -0700
- Subject: Re: problems with std::wstring on Solaris
- Organization: Red Hat / San Francisco
- References: <F204ARf3sllNY30kkZI00020432@hotmail.com>
$ g++ test.cpp /var/tmp//ccNdHTuR.o: In function
main': /var/tmp//ccNdHTuR.o(.text+0xf4): undefined reference to
std::basic_string<wchar_t, std::char_traits, std::allocato r >::basic_stringin-charge' /var/tmp//ccNdHTuR.o(.text+0x100): undefined reference to `std::basic_string<wchar_t, std::char_traits, std::allocat or >::~basic_string in-charge' collect2: ld returned 1 exit status"std:string" works, but "std::wstring" and "std::basic_string" don't link.
look for GLIBCPP_USE_WCHAR_T in c++config.h
It will be off on solaris. There's a bug in GNATS about this.
-benjamin
- References:
- problems with std::wstring on Solaris
* From: Anthony Feick
- problems with std::wstring on Solaris
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |