git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b97036
)
build: avoid -Wtautological-compare errors from gcc6+ by disabling it globally
master-gcc6
author
Michael Adam
<obnox@samba.org>
Thu, 14 Jul 2016 08:01:15 +0000
(10:01 +0200)
committer
Michael Adam
<obnox@samba.org>
Thu, 14 Jul 2016 09:04:59 +0000
(11:04 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
buildtools/wafsamba/samba_autoconf.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/samba_autoconf.py
b/buildtools/wafsamba/samba_autoconf.py
index 09ce2189d8a3a849099fd6a840024b7803c07181..5f35d77615334347ba7660d54a93bc829c2b691a 100644
(file)
--- a/
buildtools/wafsamba/samba_autoconf.py
+++ b/
buildtools/wafsamba/samba_autoconf.py
@@
-725,6
+725,7
@@
int main(void) {
if Options.options.picky_developer:
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Werror -Wno-error=deprecated-declarations', testflags=True)
+ conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=tautological-compare', testflags=True)
if Options.options.fatal_errors:
conf.ADD_CFLAGS('-Wfatal-errors', testflags=True)