Skip to main content


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
Hi,

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!

regards
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.

http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_proj_paths.htm&cp=11_3_4_5

http://wiki.eclipse.org/CDT/User/NewIn81#Scanner_Discovery

regards,
Klaus


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


Current Time: Fri Apr 19 07:29:20 GMT 2024

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

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

Back to the top