libstdc++/2103: No support for wchar i/o
Ralf.Bartzke@t-online.de
Ralf.Bartzke@t-online.de
Mon Feb 26 09:16:00 GMT 2001
>Number: 2103
>Category: libstdc++
>Synopsis: No support for wchar i/o
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: mistaken
>Submitter-Id: net
>Arrival-Date: Mon Feb 26 09:16:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Ralf Bartzke
>Release: wchar-io-1.0
>Organization:
>Environment:
http://www.codesourcery.com/gcc-compile.shtml
Online Test Compilation && SUSE Linux 6.4
>Description:
#include <stdio.h>
#include <wchar.h>
int main(void)
{
wprintf(L"Hello\n"); // gcc reports: 'wprintf' undeclared
//printf("Hello\n"); // work fine
}
>How-To-Repeat:
Try it simply on Online Test Compilation.
>Fix:
Using non-wchar-io (printf, scanf ...), transform data to
wchar_t and back to char.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the Gcc-bugs
mailing list