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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux