Message ID | 1554888339-20083-2-git-send-email-ynezz@true.cz |
---|---|
State | Accepted |
Delegated to: | Petr Štetiar |
Headers | show |
Series | Enable extra compiler checks | expand |
diff --git a/CMakeLists.txt b/CMakeLists.txt index bc18c1f..f30ca80 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(umbim C) OPTION(PROXY OFF) -ADD_DEFINITIONS(-Os -ggdb -Wall -Werror --std=gnu99 -Wmissing-declarations) +ADD_DEFINITIONS(-Os -ggdb -Wextra -Wall -Werror --std=gnu99 -Wmissing-declarations -Wno-unused-parameter) SET(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "")
Let's enforce additional automatic checks enforced by the compiler in order to catch possible errors during compilation. Cc: Bjørn Mork <bjorn@mork.no> Signed-off-by: Petr Štetiar <ynezz@true.cz> --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)