diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2022-07-22 21:02:15 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2022-07-22 21:02:28 +0200 |
commit | c8d7b18d2154c1e7a2e16ed92028eef3430a3752 (patch) | |
tree | a9604ec67dfdb9b28e3281c114dbac4cc354ad7a | |
parent | 46bb1a4bf9a202aa779bddfa7377ab385ba56fad (diff) | |
download | polecat-c8d7b18d2154c1e7a2e16ed92028eef3430a3752.tar.gz polecat-c8d7b18d2154c1e7a2e16ed92028eef3430a3752.zip |
add for C flags for sanity checking
-rw-r--r-- | src/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 4b45fec..2bc5950 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -72,6 +72,9 @@ endif() set(CFLAGS -Wall -Wextra -pedantic + -Wfloat-equal -Wundef -Wstrict-prototypes + -Wstrict-overflow=5 -Wunreachable-code + -Wcast-qual -Wswitch-default -Wconversion -Wshadow -Wstrict-aliasing -Winit-self -Wcast-align -Wpointer-arith -Wmissing-declarations -Wmissing-include-dirs |