警告:交换机[-Wswitch]中未处理枚举值'BUILT_IN_CILK_SYNC'

时间:2016-07-13 08:48:40

标签: gcc cygwin

我尝试使用this tutorial在cygwyn上安装gcc。在此步骤$ make -j4之后,我面临很多警告:

           ^
../../gcc-4.9.2/gcc/asan.c:2012:11: warning: enumeration value ‘BUILT_IN_ACOS’ not handled in switch [-Wswitch]
../../gcc-4.9.2/gcc/asan.c:2012:11: warning: enumeration value ‘BUILT_IN_ACOSF’ not handled in switch [-Wswitch]
../../gcc-4.9.2/gcc/asan.c:2012:11: warning: enumeration value ‘BUILT_IN_ACOSH’ not handled in switch [-Wswitch]
../../gcc-4.9.2/gcc/asan.c:2012:11: warning: enumeration value ‘BUILT_IN_ACOSHF’ not handled in switch [-Wswitch]
../../gcc-4.9.2/gcc/asan.c:2012:11: warning: enumeration value ‘BUILT_IN_ACOSHL’ not handled in switch [-Wswitch]

他们会引起任何问题吗?这些是什么?

1 个答案:

答案 0 :(得分:0)

cygwin上的当前gcc是5.4.0。你是浪费时间重新编译4.9.2旧版本与5.4.0作为编译器。该教程当然已经过时 - matzeri