PGI 14.6 OpenSuse 13.1 x_64 gcc 4.8 c ++ 11编译错误

时间:2014-07-28 13:45:55

标签: gcc c++11 pgi

我正在尝试使用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

任何帮助都将受到高度赞赏。

此致

1 个答案:

答案 0 :(得分:0)

这显然是一个已知问题

TPR#20490:pgc ++ --c ++ 11无法编译某些gnu 4.8头文件 升级pgc ++头文件以与gnu 4.8

兼容

已经通过pgi 14.7版本解决了。

相关问题