gcc-2.95.3 && Glibc 2.2: wprintf problem with g++
Bernd Schmidt
bernds@redhat.com
Wed Dec 20 05:07:00 GMT 2000
On 13 Dec 2000, Andreas Jaeger wrote:
> The following program fails if compiled with g++ from gcc 2.95.3 CVS
> on Linux/i686 with glibc 2.2 with a segmentation fault:
>
> #include <wchar.h>
>
> int main()
> {
> wprintf(L"%s\n", "Just a test");
> }
>
> It seems that struct stdout is not set up properly for wide streams in
> libstdc++.
I can't reproduce this with current 2.95.3 CVS. Please verify whether it
still fails for you. If so, I need to know the exact command line options
you used to compile it.
Bernd
More information about the Gcc-bugs
mailing list