Troubleshooting: Indexer errors on header file

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

Troubleshooting: Indexer errors on header file

Troubleshooting: Indexer errors on header file

There are often errors displayed after the indexer completes building its data base following the creation of a new project or the opening of a project not already in the workspace and again just before building. Some of these errors can be due to settings in the Eclipse Indexer settings.

In one scenario, a project which builds clean, that is, no compiler or IDE errors, will mark code lines in a source file which includes a large header file as 'cannot resolve symbol xxxx'.

pastedImage_1.png

In this case, the header file is larger than 17 MB. In the Eclipse Indexer settings, there are settings 'Skip files larger than' and 'Skip included files larger than'. These settings, by default, are set to 8 MB. This would be too low for the header file in this example. In order to resolve the issue, the setting should be increased to allow for the large header file to be indexed.

pastedImage_2.png

評価なし
バージョン履歴
最終更新日:
‎06-21-2018 02:04 PM
更新者: