我正在尝试使用 OpenSuse 上的 PGI 14.6 编译具有 c++11 功能的 C++ 程序。不幸的是,我收到以下错误
"/usr/include/c++/4.8/type_traits", line 269: error: identifier "__float128"
is undefined
struct __is_floating_point_helper<__float128>
^
"/opt/pgi/linux86-64/14.6/include-gcc48/cmath", line 71: error: no instance of
overloaded function "std::isfinite" matches the specified type
isfinite<double>(double __f)
^
"/opt/pgi/linux86-64/14.6/include-gcc48/cmath", line 100: error: no instance
of overloaded function "std::isnormal" matches the specified type
isnormal<double>(double __f)
^
我的配置如下:
pgi 14.6
OpenSuse 13.1 x_64
gcc 4.8
compiler flag: --c++11
任何帮助将不胜感激。
问候