From cf3983370bfa97a123699338b43af524619fff6e Mon Sep 17 00:00:00 2001 From: Burt P Date: Thu, 4 Jul 2019 15:50:04 -0500 Subject: Memory devices: enable more warnings and cleanup Signed-off-by: Burt P --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 103359df..f4a970e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,7 +203,7 @@ set_source_files_properties( modules/devices/dmi_memory.c # modules/devices/spd-decode.c PROPERTIES - COMPILE_FLAGS "-std=c99 -Wno-deprecated-declarations" + COMPILE_FLAGS "-std=c99 -Wall -Wextra -Wno-unused-function -Wno-deprecated-declarations -Wno-switch" ) foreach (_module ${HARDINFO_MODULES}) -- cgit v1.2.3