Possible Duplicate:
Why does gcc have “â” in all its error messages?
New to C programming, and I’m using GCC. I’m noticing a lot of “a-hat” outputs from GCC, and I’m starting to feel like I could miss some important information if this continues. For example:
/usr/include/gconv.h:72: error: expected declaration specifiers or â before â
/usr/include/gconv.h:174: error: expected specifier-qualifier-list before â
/usr/include/libio.h:486: error: expected â, â, â, â or â before â
/usr/include/stdio.h:308: error: expected declaration specifiers or â before â
/usr/include/stdio.h:610: error: expected â, â, â, â or â before â
DATA_a.txt: In function â:
DATA_a.txt:3: error: expected expression before â token
DATA_a.txt:3: error: â undeclared (first use in this function)
Txvalues.c:11: error: expected expression before â token
Anyone know why I’m seeing these a-hats, and how to replace them with something more meaningful? I’m not interested in fixing the bugs in the program (I created them on purpose to show lots of errors with a-hats). But since all bugs show these a-hats (real or created), I want to know how to setup GCC to replace these a-hats with meaningful information.
I think they’re Unicode quotes.
Using
before compiling gets rid of the “a-hats” for me.
Attention: I don’t know what implications (if any) this has. Use at your own risk.