From 850073cbbbc63ad5ef44b8aaa5030bbfe9ea4bf1 Mon Sep 17 00:00:00 2001 From: Andreas Mohr Date: Sun, 5 Apr 2015 09:36:14 +0300 Subject: [PATCH] Add -Wundef compiler option for future compile checks. Signed-off-by: Andrew Borodin --- m4.include/mc-cflags.m4 | 1 + 1 file changed, 1 insertion(+) diff --git a/m4.include/mc-cflags.m4 b/m4.include/mc-cflags.m4 index dcda732c7..bc46eed1b 100644 --- a/m4.include/mc-cflags.m4 +++ b/m4.include/mc-cflags.m4 @@ -72,6 +72,7 @@ dnl MC_CHECK_ONE_CFLAG([-Wstrict-aliasing]) MC_CHECK_ONE_CFLAG([-Wstrict-prototypes]) MC_CHECK_ONE_CFLAG([-Wswitch]) MC_CHECK_ONE_CFLAG([-Wtype-limits]) + MC_CHECK_ONE_CFLAG([-Wundef]) MC_CHECK_ONE_CFLAG([-Wuninitialized]) MC_CHECK_ONE_CFLAG([-Wunused-but-set-variable]) MC_CHECK_ONE_CFLAG([-Wunused-function])