Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to hide or fix semantic errors?
How to hide or fix semantic errors? [message #835772] Tue, 03 April 2012 12:47 Go to next message
Anthony Walter is currently offline Anthony Walter
Messages: 3
Registered: April 2012
Junior Member
Hello, I'm new to Eclipse this forum. I did a bit of Googling and was unable to find an answer so I thought I'd ask my question here.

How do I get Eclispe to stop reporting "Semantic Errors" when using C++0X language features? My project builds/runs okay but it's hard to see actual errors when Eclispe shows my error list filled with reports like "nullptr not defined".

I've tried alternating adding -std=gnu++0x / -std=c++0x to other flags and added __GXX_EXPERIMENTAL_CXX0X__ to my symbols list. I don't see any way to get rid of these errors (I have 48 of them reported in my main file alone).

I'm running:

g++ (Ubuntu/Linaro 4.6.1-9ubuntu3) 4.6.1

Indigo
Version: 3.7.0
Build id: I20110613-1736

Any help would be appreciated.

Thanks
Re: How to hide or fix semantic errors? [message #835780 is a reply to message #835772] Tue, 03 April 2012 12:59 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny Shifrin
Messages: 202
Registered: July 2009
Senior Member
Do you mean "Codan" functionality? Look at Window->Preferences->Code Analysis, where you can desable all tests.

Thanks,
Yevgeny
Re: How to hide or fix semantic errors? [message #835803 is a reply to message #835780] Tue, 03 April 2012 13:41 Go to previous message
Anthony Walter is currently offline Anthony Walter
Messages: 3
Registered: April 2012
Junior Member
Yes, that was it. Thank you.
Previous Topic:Reuse CDT editor in custom project
Next Topic:Project Compiled but binaries not created
Goto Forum:
  


Current Time: Fri Aug 29 14:28:01 EDT 2014

Powered by FUDForum. Page generated in 0.01843 seconds