1

I can't seem to cope with the Eclipse Indigo indexer. The project is a mixed C/C++ project with external makefile.

I tried following this documentation, but my project doesn't have menus, containing the name "Discovery".

I tried adding the folder, in which vector resides: C:\arm_tools\toolchain\arm-none-eabi\include\c++\4.7.2

to the Paths and symbols/Includes list. Although similar approach solved the size_t: symbol not found, in the case with vector, it does not help.

The code compiles fine. However, there are red undelines everywhere, the indexer complaining Symbol 'vector' could not be resolved. What should I do?

Vorac
  • 8,726
  • 11
  • 58
  • 101
  • Sadly this is one of many problems with Eclipse. People will likely try to get you to rebuild the index, resolve paths, disable heuristic indexing etc. I will not bother because it will likely not help :) – Martin G Jul 07 '14 at 12:39
  • @scy7he, addendum to the question: I rebuilt the index, freshened all files, refreshed the project. – Vorac Jul 07 '14 at 12:44
  • Indigo is a very old version. Could try the latest version? – Ali Jul 07 '14 at 12:45
  • @Ali, I just updated to Luna. Same issue with vectors. I wonder is my toolchain (2012 Yagarto) at fault, or the project settings in Eclipse. – Vorac Jul 08 '14 at 13:33
  • @Vorac Sorry to hear that. :( I really hoped that an update would solve it. – Ali Jul 08 '14 at 13:45
  • @Ali, there seems to be something major going on. Creating an empty project lists `stdio` as unresolved include. If I add it's folder to `Paths and symbols`, I get `The selected folder does not exist or is not accessible.` – Vorac Jul 08 '14 at 15:41
  • @Vorac Sorry, I have no idea :( – Ali Jul 08 '14 at 16:36
  • 1
    answered here: https://stackoverflow.com/questions/17131744/eclipse-cdt-indexer-does-not-know-c11-containers – Aaron Apr 30 '19 at 19:39

0 Answers0