introduce -Wundef check to catch macro typos
more infos about motivation at https://sourceware.org/glibc/wiki/Wundef
patch 04/04: use -Wundef compiler option for future compile checks
Signed-off-by: Andreas Mohr <and@gmx.li>
a
|
b
|
|
72 | 72 | MC_CHECK_ONE_CFLAG([-Wstrict-prototypes]) |
73 | 73 | MC_CHECK_ONE_CFLAG([-Wswitch]) |
74 | 74 | MC_CHECK_ONE_CFLAG([-Wtype-limits]) |
| 75 | MC_CHECK_ONE_CFLAG([-Wundef]) |
75 | 76 | MC_CHECK_ONE_CFLAG([-Wuninitialized]) |
76 | 77 | MC_CHECK_ONE_CFLAG([-Wunused-but-set-variable]) |
77 | 78 | MC_CHECK_ONE_CFLAG([-Wunused-function]) |