This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

[gcc-help] std::wcout fails to compile


G'day all!

THE CODE:
---------
#include <iostream>

int main()
{
	std::wcout << std::endl;
}

THE ERROR:
----------
$ g++ a.cpp
a.cpp: In function `int main()':
a.cpp:6: error: `wcout' undeclared in namespace `std'

THE COMPILERS:
-------------
gcc 3.2.3 or 3.3.3 on cygwin and several unix platforms

THE QUESTION:
-------------
This compiles with other unix C++ compilers, but not with gcc.  Is there
something else that I should #include or #define ?  

Thanks in advance.

Lourens...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]