Warning #2928: the __GXX_EXPERIMENTAL_CXX0X__ macro is disabled when using GNU version 4.6 with the c++0x option
The reason for the above warning is thatin 12.1 we dont support all the C++11 features needed by the GNU 4.6 headers, namely noexcept, constexpr, etc.
You aretrying to re-enable the macro on the command line themselves but that wont work.
This is documented in section 3.5.1 of the release notes here:
Youshould upgrade to 13.0 compiler ifyou want to use g++ 4.6 with the std=c++0x option. The 13.0 compiler is scheduled to release in a month or so (schedules subject to change).