I am using
- eclipse cpp luna
- mac os x yosemite
- CDT plugin
I use this small tutorial to configure and import my (cmake-based) project on eclipse
Once the cmake configuration ends, I am able to compile my library without any problem on the command line (using make) but on eclipse all the objects of std are underlined in red and eclipse finds it ambiguous to determine whether I am using the std:: object or the std::__1 equivalent.
On an older mac (using Mountain lion) I don t have this problem since I have only libstd and not the famous libc++ of Clang.
Why Eclipse fails to determine which library he needs to use while the compilation of the same build generated with cmake works fine on command line ?
How can I tell the analyzer of Eclipse that I m using libC++ ?
Thanks in advance
Aucun commentaire:
Enregistrer un commentaire