Community
Participate
Working Groups
STR: 1. Create a new external makefile project, containing some code that includes a C++11 standard library header such as <chrono>, and uses C++11 library features defined in it (such as std::chrono::seconds). 2. Initially, std::chrono::seconds is not resolved. This is fine, as the project is not yet configured to use C++11. 3. Configure the project to use C++11, by going to Project Properties --> C/C++ General --> Preprocessor Paths, Includes, Macros, etc. --> Providers --> CDT GCC Built-in Settings Provider, and adding "-std=c++11" to the "command to get compiler specs". 4. Press "Apply". This triggers a fairly short reindex. 5. After the reindex, std::chrono::seconds is still unresolved. 6. Now, trigger another reindex via Project -> Index -> Rebuild. 7. Now, std::chrono::seconds is resolved. Clearly, the reindex done by step (4) isn't a full reindex in some way. I think it should be, so that an subsequent explicit reindex isn't required.
*** Bug 510894 has been marked as a duplicate of this bug. ***
I guess cdt-build is probably not the best component for this.