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 05:33 Go to next message
Andreas Unwichtig is currently offline Andreas Unwichtig
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 06:02 Go to previous message
Klaus Mr is currently offline Klaus Mr
Messages: 111
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: Mon Sep 01 09:55:57 EDT 2014

Powered by FUDForum. Page generated in 0.01535 seconds