i'm using the KDE console (konsole) and when i compile foo.c (empty file) with the following cmdline:
gcc foo.c
I get the following error message:
foo.c:1:1: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â at end of input
When i run the compile the same foo.c with this cmdline:
LANG=C gcc foo.c
i get the correct output:
foo.c:1:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
But i can't figure out what's wrong on my system. Ideas?
x.c. Can you add the output oflocaleto your question? – Lekensteyn Apr 14 '11 at 14:22