summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2019-04-10 11:02:12 +0200
committerPetr Štetiar <ynezz@true.cz>2019-04-10 16:05:40 +0200
commit9d8dbc98a05fd9c50209206fdafe4b35c82babe8 (patch)
treeddcb3bfbf5ef6d1268544ee40036c1ae8733621f
parentff8d35615153086f4b89443e511907f10ff059de (diff)
Enable extra compiler checks
Let's enforce additional automatic checks enforced by the compiler in order to catch possible errors during compilation. Reviewed-by: Bjørn Mork <bjorn@mork.no> Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
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 "")