From 3e0e91013fa9bd57349de2a95506953d5991ddcc Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sat, 4 May 2019 23:56:38 +0200 Subject: [PATCH] Revert "CMake: make unsequenced modifications an error" This reverts commit 23c1c0bdb270181c9e176cc67d64d0d03cced356. Because add_if_flag_compiles apparently allows unsequenced even if the compiler doesn't support it.. --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bfb44bb..be74c4da 100644 --- a/CMakeLists.txt +++ b/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)