我能否使用支持C++11的Clang来运行Travis CI?(我想使用Clang而不是GCC,因为我已经在Travis CI中安装了GCC 4.8。)预装版本似乎不支持C++11。我的所有尝试安装新版本都以失败告终:
In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:57:
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/type_traits:269:39: error:
use of undeclared identifier '__float128'
struct __is_floating_point_helper<__float128>
我见过-D__STRICT_ANSI__
技巧,但这与其他内容冲突。
有没有可能让它工作?同时请参阅我的.travis.yml。