Author Topic: C::B & gcc with non-english locale  (Read 4326 times)

Offline activelf

  • Single posting newcomer
  • *
  • Posts: 2
C::B & gcc with non-english locale
« on: March 03, 2010, 03:24:53 am »
hi there, my linux language is not english, when i install c::b and run my programs, something happened unfortunatly. the c::b parse the output information of gcc and give me compile tips of codes. so if the language is not english, the c::b parser cannot find the "warning","error",etc, and crash immediately if compile results have any warning or error tips.

so ANY IDEAs? if i don't change the language of my system. thanks!!

Online MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9701
Re: C::B & gcc with non-english locale
« Reply #1 on: March 03, 2010, 07:35:22 am »
so ANY IDEAs? if i don't change the language of my system. thanks!!
You'll need to adjust the RegExes for the compiler yourself using the advanced compiler options.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: C::B & gcc with non-english locale
« Reply #2 on: March 05, 2010, 10:54:58 pm »
so ANY IDEAs? if i don't change the language of my system. thanks!!
You'll need to adjust the RegExes for the compiler yourself using the advanced compiler options.

Or make C::B use english environment for compilation: http://forums.codeblocks.org/index.php/topic,9514.msg67231.html#msg67231