Hi ,
It's OK in windows.But in ubuntu 12.10...
Here is the screenshot http://imagebin.org/269921
I don't use -werror.The gcc version is 4.7.2.
Please forgive my chinese english.
thx!
Why some of the same warnings are treated as errors?
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Sep 05, 2013 9:08 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- Jarod42
- CodeLite Expert
- Posts: 240
- Joined: Wed Sep 30, 2009 5:54 pm
- Genuine User: Yes
- IDE Question: C++
- Location: France
- Contact:
Re: Why some of the same warnings are treated as errors?
The build succeeds with some warnings (reported as Error).
You have to fix the pattern in Settings-> Build Settings... to reflect your language.
(or use an english gcc output see Re: Setting Language - how to)
You have to fix the pattern in Settings-> Build Settings... to reflect your language.
(or use an english gcc output see Re: Setting Language - how to)
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Why some of the same warnings are treated as errors?
Your gcc is set to report errors in chinese.. this makes it hard for codelite to detect and parse.Mafuyu wrote: don't use -werror.The gcc version is 4.7.2.
Please forgive my chinese english.
from codelite's menu bar, Settings -> Environment variables
and add this line:
Code: Select all
LC_ALL=C
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Sep 05, 2013 9:08 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Why some of the same warnings are treated as errors?
It returns to normal.Thanks for your reply.Jarod42 wrote:The build succeeds with some warnings (reported as Error).
You have to fix the pattern in Settings-> Build Settings... to reflect your language.
(or use an english gcc output see Re: Setting Language - how to)
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Sep 05, 2013 9:08 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Why some of the same warnings are treated as errors?
It works.Thanks a lot for your help.eranif wrote:Your gcc is set to report errors in chinese.. this makes it hard for codelite to detect and parse.Mafuyu wrote: don't use -werror.The gcc version is 4.7.2.
Please forgive my chinese english.
from codelite's menu bar, Settings -> Environment variables
and add this line:EranCode: Select all
LC_ALL=C