Skip to content Skip to sidebar Skip to footer

Syntax Error Notification In Native Code In Eclipse Using The Newest NDK R8d

While opening C++ source file in Eclipse editor, there I can see syntax error notifications while using ndk-r8d. They are not real errors, but additional CDT configuring is require

Solution 1:

My experience is that Eclipse often gives wrong errors for c++ projects, even if it compiles correctly. This is because the runtime c++ checker is not perfect.

My solution was to turn off all checks in the Project Properties -> C/C++ General -> Code Analysis. This way, there's no live feedback, but all errors shown are at least real


Solution 2:

Maybe a temporal fixes.

  1. Project -> Properties -> C/C++ General -> Preprocessor Include Paths, Macros etc. -> Providers
  2. Check "CDT GCC Build Output Parser" (you may can check the others)
  3. Try clean and rebuild.

When I checked 'Use global provider shared between project', I got reliable header resolve result.


Post a Comment for "Syntax Error Notification In Native Code In Eclipse Using The Newest NDK R8d"