So far I have tried these tricks: (from other SO questions)
C/C++ Build -> Settings -> Tool Settings -> GCC C++ Compiler -> Miscellaneous -> Other Flags. Put -std=c++0x (or for newer compiler version -std=c++11 at the end)
C/C++ General -> Paths and Symbols -> Symbols -> GNU C++. Click "Add..." and paste GXX_EXPERIMENTAL_CXX0X (ensure to append and prepend two underscores) into "Name" and leave "Value" blank.
Other noticeable things:
When I open C++11 header like
<memory>
it is visible that__cplusplus
macro shadows the text below it, including<backward/auto_ptr.h>
instead of all C++11 stuff; hovering mouse over macro shows that__cplusplus
expands to199711L
parser has no problems with this lines:
int* p = nullptr;
virtual void InheritedFunction() override;
It seems that parser understands correctly C++11 features (lambdas work) but somehow things like
std::shared_ptr
are blocked by not-including appropriate headers because__cplusplus
macro expands wrongEclipse can't resolve my external libraries #includes. All paths are correct, they are the same as before reinstalling Eclipse
\/
"The settings are not used by indexer" - but why? Also I don't have anything like "MBS" on the providers tab