Enabled c++11 for Eclipse: added two flags into 'Paths & Symbols', also
C++-Build->Settings->Cross C++ Compiler->Miscellaneous-> appended flag
-std=c++11; Restarted Eclipse and index rebuild.