使用最新的NDK r8d在Eclipse本地code语法错误通知 [英] Syntax error notification in native code in Eclipse using the newest NDK r8d
问题描述
虽然在Eclipse编辑器中打开C ++源文件,在那里我可以看到在使用NDK-r8d语法错误通知。它们不是真正的错误,但需要额外配置CDT根据网上教程。
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 required according to internet tutorial.
有关,我打开的项目属性 - > C / C ++常规 - >路径和符号,并增加了包括对C ++的路径为NDK r8d
For that I Opened Project Properties -> C/C++ General -> Paths and Symbols and added the Include paths for C++ for ndk r8d.
但仍然是错误的通知存在。请提供一些解决方案。
But still the errors notification exists. Please provide some solution.
推荐答案
我的经验是Eclipse的往往给出错误的误差为C ++项目,即使它编译正确。这是因为运行时C ++的检查是不完美的。
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.
我的解决办法是关闭所有的检查项目属性 - > C / C ++常规 - > code分析。这样一来,没有实时反馈,但显示的所有错误都至少的真正的
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
这篇关于使用最新的NDK r8d在Eclipse本地code语法错误通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!