From 83698f6b2a7abe0feb3da85d9991c2efe1ed5b6c Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Thu, 11 Apr 2019 21:50:12 +0200 Subject: [PATCH] CMakeList.txt: enable extra compiler checks Enforce additional compiler checks in order to catch possible errors during compilation Signed-off-by: Hans Dedecker --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 46cf4c4..3c3e0ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES(${ubox_include_dir} ${libnl-tiny_include_dir}) FIND_LIBRARY(libnl NAMES nl-tiny) -add_definitions(-D_GNU_SOURCE -Wall -Werror -Wextra) +add_definitions(-D_GNU_SOURCE --std=gnu99 -Wall -Werror -Wextra -Wmissing-declarations -Wno-unused-parameter) if (${EXT_CER_ID}) add_definitions(-DEXT_CER_ID=${EXT_CER_ID}) -- 2.30.2