Bug #13113 2008-02-11 22:57

yaoziyuan

Warnings count is incorrect if locale is non-English

In Fedora 8, if I set system language to Chinese, gcc's output (warnings, errors) will all be in Chinese. Code::Blocks cannot recognize warnings in Chinese and mistakenly counts them as errors.

This can result in cancellation of debugging/running when warnings are counted as errors.

Category
Application::Error
Group
 
Status
Open
Close date
 
Assigned to
 
yaoziyuan 2008-02-11 22:59

Currently, I fixed this problem by adding an environment variable LC_ALL=en_US.UTF-8 in Code::Blocks' Settings menu > Environment > Environment variables, so that gcc will output messages in English and Code::Blocks can correctly parse them.