We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afbd25a commit 0a86861Copy full SHA for 0a86861
cmake/configure.cmake
@@ -36,13 +36,15 @@ if( UNIX )
36
-Wwrite-strings \
37
-Wswitch-enum \
38
-Wnull-dereference \
39
- -Wold-style-definition \
40
41
-Wformat=2 \
42
- -Wmissing-prototypes \
43
-Wmissing-declarations \
44
-Wno-c11-extensions")
45
endif (NOT APPLE)
+ set(CMAKE_C_FLAGS
+ "${CMAKE_C_FLAGS} \
46
+ -Wold-style-definition \
47
+ -Wmissing-prototypes")
48
set (COMMON_LANGUAGE_RUNTIME "${COMMON_COMPILER_FLAGS} -Werror")
49
50
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_COMPILER_FLAGS}")
0 commit comments