Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Removing Syntax Errors indicated by Eclipse
Removing Syntax Errors indicated by Eclipse [message #985353] Thu, 15 November 2012 10:33 Go to next message
Andreas Unwichtig is currently offline Andreas UnwichtigFriend
Messages: 1
Registered: November 2012
Junior Member

I'm working with Eclipse Juno on Ubuntu 12.04.
I have the problem that eclipse erroneously indicates syntactical errors when i use an assert statement oder checking whether a pointer is NULL. So Eclipse doesn't know assert and NULL.
Is it possible to teach eclipse that these expressions are correct or simply to disable the syntax check for these keywords?

Thanks for you help!

Re: Removing Syntax Errors indicated by Eclipse [message #986004 is a reply to message #985353] Sat, 17 November 2012 11:02 Go to previous message
Klaus km is currently offline Klaus kmFriend
Messages: 142
Registered: November 2011
Senior Member
Hello Andreas,

your question is vague.

Of curse Eclipse "understand" assert and NULL!

But Eclipse must know the headers and i guess that in your case Eclipse could not find the headers.


Previous Topic:Nested Block Comment problem
Next Topic:how can I get rid of <undefined reference to `_impure_ptr'> ?
Goto Forum:

Current Time: Tue Oct 06 10:36:01 GMT 2015

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

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