From fb376b2484b6f1cd4ecc90141c54d7b495570943 Mon Sep 17 00:00:00 2001 From: zhengshuxin Date: Sat, 27 Oct 2018 22:21:29 +0800 Subject: [PATCH] compatiable for lower cmake --- lib_fiber/c/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib_fiber/c/CMakeLists.txt b/lib_fiber/c/CMakeLists.txt index 0b4147935..69466c62d 100644 --- a/lib_fiber/c/CMakeLists.txt +++ b/lib_fiber/c/CMakeLists.txt @@ -13,7 +13,7 @@ add_definitions( "-std=gnu99" "-fPIC" "-Wall" - "-Werror" +# "-Werror" "-Wshadow" "-Wpointer-arith" "-Waggregate-return" @@ -25,7 +25,7 @@ add_definitions( "-Wuninitialized" "-D_POSIX_PTHREAD_SEMANTICS" "-DACL_PREPARE_COMPILE" - "-Wno-invalid-source-encoding" +# "-Wno-invalid-source-encoding" "-Wstrict-prototypes" )