Enable extra compiler warnings
authorPetr Štetiar <ynezz@true.cz>
Tue, 25 Jun 2019 14:39:48 +0000 (16:39 +0200)
committerPetr Štetiar <ynezz@true.cz>
Tue, 25 Jun 2019 14:39:48 +0000 (16:39 +0200)
Signed-off-by: Petr Štetiar <ynezz@true.cz>
CMakeLists.txt

index 76c910304a6d0e55417c2a611bf7f375712d694f..ad6cdf0782352dc80611b3e417acb3dd05a3a390 100644 (file)
@@ -1,7 +1,7 @@
 cmake_minimum_required(VERSION 2.6)
 
 PROJECT(ugps C)
-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 "")