J
Jan Engelhardt
Hello ng,
I have found that the following program only prints "empty" but not "hello
world". Does anybody know why this happens?
#include <stdio.h>
#include <wchar.h>
int main(void) {
wprintf(L"empty\n");
printf("hello world\n");
return 0;
}
For reference, I have tried gcc 3.3.5/glibc 2.3.4 and gcc 4.0.2/glibc 2.3.5.
Both have this weirdness. All LC_* variables are "POSIX".
Jan
--
I have found that the following program only prints "empty" but not "hello
world". Does anybody know why this happens?
#include <stdio.h>
#include <wchar.h>
int main(void) {
wprintf(L"empty\n");
printf("hello world\n");
return 0;
}
For reference, I have tried gcc 3.3.5/glibc 2.3.4 and gcc 4.0.2/glibc 2.3.5.
Both have this weirdness. All LC_* variables are "POSIX".
Jan
--