summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-11-19 11:57:46 -0500
committerAllen Winter <allen.winter@kdab.com>2022-11-19 11:59:21 -0500
commitea89a35b099a841e3ad50400c253401662b7df4b (patch)
tree159cdada2b080a5653f0d15941d4c44151d30db4
parent7d5dd4825455428d48aadfad19743faf48b9ccfb (diff)
parent32068f1e1b1eec1f6ca1fe6e6f21a7c5a2c04b16 (diff)
downloadlibical-git-ea89a35b099a841e3ad50400c253401662b7df4b.tar.gz
Merge branch '3.0'
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9994db09..f5d5e52c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -565,7 +565,8 @@ if(CMAKE_C_COMPILER_IS_GCC OR CMAKE_C_COMPILER_IS_CLANG)
set(CMAKE_C_FLAGS
"${CMAKE_C_FLAGS} -fvisibility=hidden \
-Wno-deprecated -Wall -Wno-unknown-pragmas -Wextra -Winit-self -Wunused -Wno-div-by-zero \
- -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type"
+ -Wundef -Wpointer-arith -Wtype-limits -Wwrite-strings -Werror=return-type \
+ -Wold-style-definition -Wstrict-prototypes"
)
libical_add_cflag(-Wunused-but-set-variable UNUSED_BUT_SET)
libical_add_cflag(-Wlogical-op LOGICAL_OP)