Advanced   Java   Services Eclipse CDT 8.3.0 und MinGW 4.8.2 Teil 5 Back Next Up Home



Eclipse CDT 8.3.0 und MinGW 4.8.2 Teil 5

Workaround für : C++11 Klassen und/oder Methoden werden zum Teil von Eclipse nicht erkannt

Eclipse erkennt C++11 Features zum Teil nicht:

"Function 'unique_ptr' could not be resolved"
"Method 'crbegin' could not be rersolved"
"Method 'std::begin' could not be rersolved"
usw.

Lösung

Project -> Properties -> C/C++ General -> Path and Symbols -> Tab [Symbols] -> GNU C++

Hier ergänzt man das folgende Symbol und den Wert:

Symbol: __cplusplus
Wert  : 201103L

ptr-could-not-be-resolved-bug-1.jpg

ptr-could-not-be-resolved-bug-2.jpg

Siehe auch den vorletzten Eintrag mit der Nummer 1 von Jerk31 auf  http://stackoverflow.com/questions/9131763/eclipse-cdt-c11-c0x-support

Valid XHTML 1.0 Strict top Back Next Up Home