Hi,
I am trying to use icc 12.0.4 on a Debian 6 system. I am getting the following error:
/usr/include/c++/4.4.5/c++0x_warning.h(31): catastrophic error: #error directive: This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options.
#error This file requires compiler and library support for the upcoming
The same code works when compiled with g++.
I think this is because in c++0x_warning.h, we have:
30 #ifndef __GXX_EXPERIMENTAL_CXX0X__
31 #error This file requires compiler ...
...
#endif
which is not being defined by icc?
Kindly help me solve this...
Thanks




