icpc C++11 with gcc stdlib

浪子不回头ぞ 提交于 2019-12-05 18:45:27

The errors obviously point to C++11 code, so it sounds like you want to prevent the compiler from seeing any of that, such as with -U__GXX_EXPERIMENTAL_CXX0X__ (the equivalent GCC option).

However, if ICC is defining this for you under -std=c++0x, then you should find out what version of the library you are supposed to use (or look for a library in your local ICC installation). It's far from certain that the C++03 library is sufficient to compile C++11 code.

icpc only warns at such situation. Do not put attention on this. Everything will be compiled.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!