Warning: Multi-line comments [-Wcomment] display red. [message #895691] |
Sun, 15 July 2012 03:32 |
|
Hi, all:
Environment:
Eclipse IDE for C/C++ Developers
Version: Indigo Service Release 2
Build id: 20120216-1857
I'm trying to build a C/C++ project using Eclipse CDT. Everything seems to be fine, except one thing makes me annoyed. Some warnings display red, which I thought should display yellow.
The warnings displaying in red include:
Quote:
1) Warning: Multi-line comments [-Wcomment]
2) Warning: Comparison between signed and unsigned integer expressions [-Wsign-compare]
3) Warning: ' ' defined but not used [-Wunused-variable]
Please help, how to make the warnings display yellow, instead of red?
Quote:Windows->Preference->C/C++->Code Analysis
I can see where I can specify the Severity of specific problem. However, there seems to be nowhere corresponds to the above 3 warnings.
[Updated on: Mon, 16 July 2012 00:30] Report message to a moderator
|
|
|
|
Re: Warning: Multi-line comments [-Wcomment] display red. [message #896591 is a reply to message #895812] |
Thu, 19 July 2012 03:56 |
|
Axel Mueller wrote on Mon, 16 July 2012 03:36This are warnings from the compiler so no need to fiddle with the Code Analysis settings.
- Are the warnings shown in English?
Yes, all warnings are shown in English.
Quote:
- Are all warnings shown in red or only some of them?
Now, I'm working under Ubuntu 12.04 now. All warnings are shown in red !!
Quote:
- Which error parsers are active in Project Properties->C/C++ Build->Settings: Error parsers?
I've got 8 here in total, but only 4 are ticked.
Quote:CDT GNU Make Error Parser 7.0 (ticked)
CDT pushd/popd CWD Locator (ticked)
CDT GNU C/C++ Error Parser (ticked)
CDT GNU Assembler Error Parser (ticked)
Autoconf Error Parser (unticked)
CDT GNU Linker Error Parser (unticked)
CDT Visual C Error Parser (unticked)
CDT GNU Make Error Parser 6.0 (Deprecated) (unticked)
So, any further suggestions?
Best Regards
Pei
|
|
|
|
Powered by
FUDForum. Page generated in 0.01907 seconds