|Enabling C++11 features [message #992001]
||Thu, 20 December 2012 16:31
| Halil Can
Registered: December 2012
I'm trying to enable C++11 on Eclipse but I couldn't manage it so far. When I add -std=c++0x to Preprocessor Include Paths or Discovery Options > Compiler invocation arguements, references are not resolved. When I check array (for std::array) I see
returns true and code below it is not parsed. So, I get this
Problem description: Symbol 'array' could not be resolved
When I add __GXX_EXPERIMENTAL_CXX0X__ to symbols, then array is parsed. std::array is resolved. However, then my code gets messy. Somehow eclipse cannot parse my code, which was working before I define GXX.
I couldn't find a workaround for this. Thank you!
Powered by FUDForum
. Page generated in 0.02033 seconds