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

2005-09-21 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-09-21 16:14 --- *** This bug has been marked as a duplicate of 6702 *** -- What|Removed |Added St

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

2005-09-21 Thread bkoz at gcc dot gnu dot org
--- Additional Comments From bkoz at gcc dot gnu dot org 2005-09-21 16:13 --- Paolo is right: wchar_t specializations are only supported on solaris starting with gcc-3.4.0. I would suggest using either gcc-3.4.4 gcc-4.0.2 -benjamin -- What|Removed

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

2005-09-21 Thread pcarlini at suse dot de
--- Additional Comments From pcarlini at suse dot de 2005-09-21 13:27 --- I'm afraid this is a WONTFIX for gcc3.3.x, which is not maintained anymore. Can you try a more recent release, like the forthcoming gcc4.0.2? According to the audit trail of libstdc++/6702, the issue has been fixed

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

2005-09-21 Thread a_manish at yahoo dot com
--- Additional Comments From a_manish at yahoo dot com 2005-09-21 11:21 --- Thanks for replying. But additing Fwd declaration did not help. I am still getting the errors : += g++ wofstream.cpp Undefined first referenced s

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

2005-09-21 Thread pinskia at gcc dot gnu dot org
-- What|Removed |Added GCC target triplet||sparc-sun-solaris2.9 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23990

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

2005-09-21 Thread chris at bubblescope dot net
--- 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;" in your

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

2005-09-21 Thread a_manish at yahoo dot com
--- Additional Comments From a_manish at yahoo dot com 2005-09-21 10:26 --- === i am compiling on sol9 machine g++ -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs Configured with: ../configure --with-as=/usr/cc

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

2005-09-21 Thread chris at bubblescope dot net
--- Additional Comments From chris at bubblescope dot net 2005-09-21 10:13 --- Could you provide the output of g++ -v, and the operating system you are using? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23990

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

2005-09-21 Thread a_manish at yahoo dot com
--- Additional Comments From a_manish at yahoo dot com 2005-09-21 10:10 --- compilation output errors: g++ test.cpp Undefined first referenced symbol in fi