I know there are a lot of answers, but no one is useful.
Ubuntu 16.04
Eclipse 4.6.2
I have tried every solution including:
- Add
-std=c++11 or c++14 or c++0x or gnu++0x or gnu++11
in the "Command to get compiler specs". - Add
__GXX_EXPERIMENTAL_CXX0X
in the "Symbols". - Add
__cplusplus
and set value to201402L
.
So I just wonder, why can't the developer just design an option to enable it?
Does any one have solution?
Oh am I forgot to rebuild? No.
To provide more information, I use a custom script to build my *.cpp. And I think build options won't affect the recognizance right?
Sorry about missing "11".
` but when I use `list`, it still tell me it is an unresolved one. So this is not a problem about header files. I can even dive into the header files through eclipse.
– Sraw Jan 20 '17 at 02:44