[Bug libstdc++/23990] compiling code with "wchar_t" .. gives linking error

chris at bubblescope dot net gcc-bugzilla@gcc.gnu.org
Wed Sep 21 11:02:00 GMT 2005


------- Additional Comments From chris at bubblescope dot net  2005-09-21 11:01 -------
Hopefully someone with more Solaris knowledge than me may come along (the code works fine on any 
OSes I can get my hands on)

As a temporary fix, you might find putting "template class char_traits<wchar_t>;" in your code (just after 
using namespace std; should do) should force the generation of the missing functions.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23990



More information about the Gcc-bugs mailing list