chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf2b4e
)
common.make.in: add -Wno-unused-value
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 19 Nov 2016 18:14:09 +0000
(18:14 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Tue, 26 May 2020 19:12:33 +0000
(20:12 +0100)
Our GET_* macros return the value they've assigned, for convenience,
but this upsets new versions of gcc:
warning: right-hand operand of comma expression has no effect [-Wunused-value]
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
common.make.in
patch
|
blob
|
history
diff --git
a/common.make.in
b/common.make.in
index baced41bcbf6af42007d8cd29342b2f3b79a2a2b..590ffaf91974b290ea9cc5084c3ac374640afaeb 100644
(file)
--- a/
common.make.in
+++ b/
common.make.in
@@
-33,7
+33,7
@@
LDFLAGS= $(AUTOLDFLAGS) $(DIRLDFLAGS) $(XLDFLAGS)
LDLIBS= @LIBS@ $(XLIBS)
AUTOCFLAGS= @CFLAGS@
AUTOLDFLAGS= @LDFLAGS@
-WARNS= @WARNS@
+WARNS= @WARNS@
-Wno-unused-value
#WERROR= -Werror
M4= m4