瀏覽代碼

Revert "CMake: make unsequenced modifications an error"

This reverts commit 23c1c0bdb2.

Because add_if_flag_compiles apparently allows unsequenced
even if the compiler doesn't support it..
pull/832/head
Ahmad Fatoum 5 年之前
父節點
當前提交
3e0e91013f
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: C3EAC3DE9321D59B
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      CMakeLists.txt

+ 0
- 1
CMakeLists.txt 查看文件

@ -19,7 +19,6 @@ endif()
include(AddIfFlagCompiles)
add_if_flag_compiles(-Werror=pointer-arith CMAKE_C_FLAGS)
add_if_flag_compiles(-Werror=implicit-function-declaration CMAKE_C_FLAGS)
add_if_flag_compiles(-Werror=unsequenced CMAKE_C_FLAGS)
# src/external/jar_xm.h does shady stuff
add_if_flag_compiles(-fno-strict-aliasing CMAKE_C_FLAGS)

Loading…
取消
儲存