Skip to main content



      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
Eclipse UserFriend
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 06:02 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 03:24:00 EDT 2025

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

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

Back to the top