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