Unresolved inclusion warnings

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unresolved inclusion warnings

ソリューションへジャンプ
2,269件の閲覧回数
davidsherman
Senior Contributor I

Something a little strange I'm seeing in KDS.  Seems to be an Eclipse issue, but it's not making sense.  I have multiple source files in the project.  There's a separate project in the workspace that includes several header files.  I have the top level project defined to use the includes directory I've defined, and I've used the path "${ProjDirPath}/../KELibs/Includes".  If I look under the C/C++ general properties, I see it is resolving the path properly.  Here's what doesn't makes sense.  Some of these source files in the top level project will show several warnings about unresolved inclusions, and show syntax errors as a result.  However, other source files at the same level in the project include the exact same files, and have no warnings.  Everything builds and compiles fine, I just don't understand why all these warnings are showing up for certain files.  If I look at the properties for the files with the warnings, their include paths are correct.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,909件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi David,

Eclipse is using the 'Index' and 'Indexer' to parse all the files in the editor (in the background) and builds up a data base.

It could be that this data base is not correct any more. See Fixing the Eclipse Index | MCU on Eclipse  for how to fix it.

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
1,910件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi David,

Eclipse is using the 'Index' and 'Indexer' to parse all the files in the editor (in the background) and builds up a data base.

It could be that this data base is not correct any more. See Fixing the Eclipse Index | MCU on Eclipse  for how to fix it.

I hope this helps,

Erich

1,909件の閲覧回数
davidsherman
Senior Contributor I

Thank you Erich, I'll take a look at that.  I can't tell if it fixed the specific problem, because it seems to have corrected itself.  Good to know, though, thanks!

0 件の賞賛
返信