From: Andre Noll Date: Wed, 1 Apr 2015 02:50:27 +0000 (+0000) Subject: build: Add -Wunused-macros to CPPFLAGS on Linux. X-Git-Tag: v0.5.5~32 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=132ab22db97d57c688b2a4cda4a905aee17cf5b0;p=paraslash.git build: Add -Wunused-macros to CPPFLAGS on Linux. We already specify -Wunused which combines all -Wunused options but does not activate the -Wunused-macros cpp warning. --- diff --git a/Makefile.real b/Makefile.real index c5d64058..1ceb3e96 100644 --- a/Makefile.real +++ b/Makefile.real @@ -110,6 +110,7 @@ LDFLAGS += $(clock_gettime_ldflags) ifeq ($(uname_s),Linux) # these cause warnings on *BSD + CPPFLAGS += -Wunused-macros STRICT_CFLAGS += -fdata-sections -ffunction-sections STRICT_CFLAGS += -Wstrict-prototypes STRICT_CFLAGS += -Wshadow