Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » C++ 11 headers issue
C++ 11 headers issue [message #1034561] Fri, 05 April 2013 15:32
Ernst Maurer is currently offline Ernst MaurerFriend
Messages: 29
Registered: January 2011
Junior Member


I'm using MinGW and one of headers is <initializer_list>
it 's compiled successfully, but Eclipse parser can't parse this template correctly,
it doesn't highlight the include itself, then eclipse "sees" the header but shows the error: "Symbol 'initializer_list' could not be resolved"

I've opened initializer_list header and see that CDT highlights block (most of this header) as __GXX_EXPERIMENTAL_CXX0X__ is not defined:
# include <bits/c++0x_warning.h>
#else // C++0x
I believed that compiler option -std=c++11 defines this, is not it? because compiler works without errors.
But CDT parser have started to work properly only when I added __GXX_EXPERIMENTAL_CXX0X__ into C++General/Paths and Symbols/Symbols
Previous Topic:installing GDB (Win)
Next Topic:Cross compiling with the Keil C166 tool chain
Goto Forum:

Current Time: Mon Dec 05 16:58:15 GMT 2016

Powered by FUDForum. Page generated in 0.04434 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software