--- Additional Comments From a_manish at yahoo dot com 2005-09-19 04:53
---
(In reply to comment #1)
> Can you try a newer version of GCC like 3.4.4?
Tried with older version of gcc 3.3.2 and it worked.
Thanks for your help. apologies for late reply.
Manish.
--
W
Hi,
I am facing a problem while compiling following code with gcc.
When i compile ofstream with "char", it compiles fine.
But it gives linking error with "wchar_t".
I compile with command "gcc test.cpp"
Could someone please look into this and let me know if i need additional
library to compile wit
--- 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
--- 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
--- 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
ot org
ReportedBy: a_manish at yahoo dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22612