You are not logged in.

#1 2007-07-31 10:34:00

firedance
Member
From: Stockholm, Sweden
Registered: 2005-04-18
Posts: 131

gcc weird characters. (locale problem?)

Ok, when i write a program with errors/warnings in it, like

void main(){}

and compile, gcc says:
[phasip@NetBox]$ gcc test.c
test.c: In function 'main':
test.c:3: warning: return type of 'main' is not 'int'

...
Nice, when I paste it here it looks perfect, but in aterm the ' characters are actually shown as in the picture below
gccerrordi7.jpg
What can i do to make this right?
(in the terminal(console?) the ' characters are black questionmarks in a white field)

Last edited by firedance (2007-07-31 10:40:12)

Offline

#2 2007-07-31 20:31:58

loserMcloser
Member
From: Canada
Registered: 2004-12-15
Posts: 130

Re: gcc weird characters. (locale problem?)

I've got the same thing happening here, anyone have any ideas?

% echo $LANG                                    
en_US.utf8

Offline

Board footer

Powered by FluxBB