1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-15 13:35:53 +01:00

Fixed a few improper macro usages

Added compiler checks for some improper macro usage and fixed the problems
pointed by gcc.

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-12-30 18:43:29 +01:00
committed by Carlos R. Mafra
parent 0faff93cf7
commit 5770e53c50
3 changed files with 7 additions and 3 deletions

View File

@@ -143,6 +143,10 @@ AS_IF([test "x$debug" = "xyes"],
dnl secured OS, and in a more general way generate binary code
dnl that may not be optimal
AX_CFLAGS_GCC_OPTION([-Wtrampolines])
dnl
dnl GCC provides a couple of checks to detect incorrect macro uses
AX_CFLAGS_GCC_OPTION([-Wundef])
AX_CFLAGS_GCC_OPTION([-Wunused-macros])
], [dnl
dnl When debug not enabled, we try to avoid some non-necessary
dnl messages from the compiler