Re: garbled messages containing "â"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Patrik Jonsson wrote:
> Daniel Berlin wrote:
>> Patrik Jonsson wrote:
>>   
>>> Hi,
>>>
>>> My gcc (4.0.2 20051125 (Red Hat 4.0.2-8)) recently started garbling its
>>> output by inserting "â" instead of names of routines, arguments, etc.
>>> Typical example:
>>>
>>> blitz-fits.h: In function â:
>>> blitz-fits.h:93: error: there are no arguments to â that depend on a
>>> template parameter, so a declaration of â must be available
>>> blitz-fits.h:93: error: (if you use â, G++ will accept your code, but
>>> allowing the use of an undeclared name is deprecated)
>>> blitz-fits.h:96: error: cannot convert â to â for argument â to â
>>>
>>> Needless to say, this makes it even harder than normal to figure out
>>> what's wrong with the program... ;-)
>>>
>>> This is on a Fedora Core 4 x86_64 machine. Does anyone have any idea why
>>> this is happening and what to do about it?
>>>     
>> does doing "export LANG=C" before running gcc fix it?
>>
>>   
> It does. Thanks. Any explanation for what's going on? (The language
> isn't even C, it's C++...)
> 

It's not related to the language you are compiling with
You have a locale set (probably UTF-8), but whatever you are using to
look at the output doesn't support displaying that.

> /Patrik
> 
> 


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux