This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libstdc++/2103: No support for wchar i/o
- To: gcc-gnats at gcc dot gnu dot org
- Subject: libstdc++/2103: No support for wchar i/o
- From: Ralf dot Bartzke at t-online dot de
- Date: 26 Feb 2001 17:10:04 -0000
- Reply-To: Ralf dot Bartzke at t-online dot de
>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: