Mail Archives: djgpp/2002/08/28/01:26:32
On Tue, 27 Aug 2002, Alex Vinokur wrote:
> ttt.cpp: In function `int main()':
> ttt.cpp:13: `wcout' undeclared (first use this function)
> ttt.cpp:13: (Each undeclared identifier is reported only once for each function
> it appears in.)
>
>
> ========= Compilation : END ===========
>
>
> So, we can see that `wcout' undeclared because _GLIBCPP_USE_WCHAR_T undefined.
>
> What is way out ?
None, unfortunately: the C library which is used by the DJGPP port does
not support non-ASCII characters the way wcout needs it. The best you
can hope for is to use the single non-ASCII character set defined by the
upper half of the 256-character codepage which is loaded into your DOS
session.
Adding support for multibyte and wide characters is a lot of work, and no
one has yet stepped forward to do that in full.
- Raw text -