projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b00a1
)
build: Add -Wunused-macros to CPPFLAGS on Linux.
author
Andre Noll
<maan@tuebingen.mpg.de>
Wed, 1 Apr 2015 02:50:27 +0000
(
02:50
+0000)
committer
Andre Noll
<maan@tuebingen.mpg.de>
Sun, 31 May 2015 09:30:26 +0000
(11:30 +0200)
We already specify -Wunused which combines all -Wunused options but
does not activate the -Wunused-macros cpp warning.
Makefile.real
patch
|
blob
|
history
diff --git
a/Makefile.real
b/Makefile.real
index c5d6405846d1afe50e5e6179058467c3f65fc9bd..1ceb3e96ad71802a64a18e65e729b2309e8694c8 100644
(file)
--- 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