From: Petr Štetiar Date: Tue, 25 Jun 2019 14:39:48 +0000 (+0200) Subject: Enable extra compiler warnings X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=fc2ab8756b3bee3ba193790d8ce8577c4c6b534d;p=project%2Fugps.git Enable extra compiler warnings Signed-off-by: Petr Štetiar --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 76c9103..ad6cdf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 "")