From: Petr Štetiar Date: Wed, 10 Apr 2019 09:02:12 +0000 (+0200) Subject: Enable extra compiler checks X-Git-Url: http://git.openwrt.org/openwrt/openwrt.git%24%28if?a=commitdiff_plain;h=9d8dbc98a05fd9c50209206fdafe4b35c82babe8;p=project%2Fumbim.git 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 Signed-off-by: Petr Štetiar --- 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 "")