Gcc does not print warnings properly when invoked by the root user. The names of functions and variables are wrong. Normally I would not report this, but there might be a more serious problem with incorrect memory references in a process running under the root UID behind it. Version-Release number of selected component (if applicable): gcc-4.0.2-8.fc4 How reproducible: Always Steps to Reproduce: 1. here is a (silly) C program called test.c int main(void) { int var; 0; } 2. as root run: gcc -Wall test.c 3. run the same command as non-root to see the difference Actual results (root user gets this): test.c: In function â: test.c:1: warning: statement with no effect test.c:1: warning: unused variable â test.c:1: warning: control reaches end of non-void function Expected results (non root users get this): test.c: In function 'main': test.c:1: warning: statement with no effect test.c:1: warning: unused variable 'var' test.c:1: warning: control reaches end of non-void function
That sounds like misconfigured terminal, you are running with some UTF-8 locale, but your terminal isn't capable of printing UTF-8. If you run GCC in C or some non-UTF-8 locale (such as LC_ALL=C gcc LANG=en_US gcc etc.) then it will print '...' quotes.
You are right about the UTF-8 locale. Thanks.