Eclipse Build Issues

I am having the following issue when trying to build sample code using eclipse. Does anyone have any solutions or have seen this issue.

#error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

Thanks

At least on Linux, the example projects pass --std=c++1y to g++ already, which enables the ISO C++ 2014 standard (which is a superset of C++11). If it isn’t enabled, do the following:

In the project’s right-click context menu, navigate to Properties > C/C++ Build > Settings, then select “Cross G++ Compiler”. The language standard under Dialect should be ISO C++1y.