Skip to main content


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 16:47 Go to next message
Anthony Walter is currently offline Anthony WalterFriend
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 16:59 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny ShifrinFriend
Messages: 208
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 17:41 Go to previous message
Anthony Walter is currently offline Anthony WalterFriend
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: Thu Mar 28 12:42:26 GMT 2024

Powered by FUDForum. Page generated in 0.02882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top