[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wprintf segfaults...
From: |
Andre Charbonneau |
Subject: |
Re: wprintf segfaults... |
Date: |
Thu, 1 Mar 2001 11:20:32 +0000 |
User-agent: |
KNode/0.4 |
I just tried to compile it using gcc instead of g++ and the segfault
disapeared...
this is weird...
Andre Charbonneau wrote:
> Hi,
> I've written a small test program to test wprintf and it segfaults.
>
> #define _ISOC99_SOURCE
> #include <wchar.h>
> #include <stdio.h>
>
> int main()
> {
> wprintf(L"Hello world!\n");
> return 1;
> }
>
> It compiles without any problem but gives a segmentation fault at runtime.
> On my debian system I have:
> libc6 2.2.1-3
> g++ 2.95.3-5
>
> Can anyone help me on this?
>
> Thanks.
> Andre Charbonneau.
--
The address in the headers is not the poster's real email address. Do not send
private mail to the poster using your mailer's "reply" feature. CC's of mail
to mailing lists are OK. Problem reports to "address@hidden".
The poster's email address is "address@hidden".