mardi 26 septembre 2017

Eclipse: Function 'next' could not be resolved

I saw quite a lot of similar questions in forums, but none of them helped me.

EClipse Version: Oxygen Release (4.7.0) in

OS: Ubuntu 16.04 LTS

I created a makefile project with existing code, it builds fine, but code indexer could not find some of newer std functions, e.g. iterator::next() or vector::shrink_to_fit();

popular answeres were -"In your project explorer window, right click on your project -> Index -> Rebuild"

-"Project > Properties > Settings > Binary Parsers > "GNU Elf Parser""

-"add under Project > Properties > C/C++ Build > Settings then on the Tool Settings tab GCC C++ Compiler > Miscellaneous the -std=c++11 flag, "

include paths look fine, it can find other standart c++ functions.

Aucun commentaire:

Enregistrer un commentaire