https://stackoverflow.com/questions/9131763/eclipse-cdt-c11-c0x-support
I come from that website.
I have a C++ project that compiles with g++-4.8 without problems. I just wanted to use std::int8_t from the cstdint file.
Problem is the eclipse indexer can't resolve the name.
I went to the csdint file and in the initial macro it expands __cplusplus to 199711L instead of 201103L.
In my project settings I added std=c++11 and in the compiler flags I addded GXX_EXPERIMENTAL_CXX0X
And did I say it compiles?
It's very frustrating, I suppose I can live without the indexer, but then again what is the purpose of an IDE if it's giving me error false positives.
-stc=c++11was necessary for compilation, but compilation was not the problem, only the symbols, for this it needed the path to the Symbols inProject Properties->Paths and Symbols->Symbols Tab->GNU C++->__cplusplus Symbol– Claudiordgz May 30 '16 at 17:48