News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem with localized installations

Started by Folco, February 13, 2013, 05:46:20 PM

Previous topic - Next topic

Folco

Hi,


When my system is set in english, and that I compile a simple int main (int argc, char* argv[]) { return 0;}, I get something like that :

So all is fine.


But if my system language is french, I don't get anymore "warning: unused parameter", but "attention : unused parameter".
I guess that C::B looks for "warning" and "error" words to display the count of warnings and error at the end of compilation.
So, as my system is in french, "warning" is not displayed, so C::B says me that compilation encountered 2 errors, instead of 2 warnings.

Is there a way to have my system in my own language, and a correct report of errors/warnings ?
Kernel Extremist - PedroM power ©

zabzonk

IMHO, you don't want the error messages in anything other than English. Localisation of compiler (or any other development tool) error messages is one of the great mistakes that tool providers make. You want them in English so you can google for them, so that third party tools (like code::blocks) work properly, and so that people reading them on fora like this one can understand them. English is the standard language for programming in - not only should your error messages be in English, but so should your code.

Folco

Ok. So I have to find an option for gcc/g++ to force it to talk in english. I lookt for such a solution, thanks. =)
Kernel Extremist - PedroM power ©

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Folco

Ok, setting  global var inside C::B works fine, thank you =)
Kernel Extremist - PedroM power ©