我正在尝试通过cygwin. 安装它时,它失败并显示错误:
/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/type_traits:311:39: error: __float128 is not supported on this target
struct __is_floating_point_helper<__float128>
^
Run Code Online (Sandbox Code Playgroud)
现在在调查它时,我发现它与clang支持'__float128'on only select 目标的问题有关,即在 3.9.0 之前不支持 clang__float128并且在 3.9.0 之前它定义了类型别名作为解决方法。
从 3.9.0 开始,clang 实现了本机__float128 support,并删除了别名解决方法。目前唯一支持 __float128 的目标是linux x86_64 and i686
因此我的问题是,是否有任何解决方案可以消除此错误?