git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77cdfe3
)
replace: Be strict when checking __attribute__ features
author
Amitay Isaacs
<amitay@gmail.com>
Tue, 3 Jul 2018 04:36:33 +0000
(14:36 +1000)
committer
Martin Schwenke
<martins@samba.org>
Wed, 4 Jul 2018 21:56:43 +0000
(23:56 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 66694f7d0af317224614a20449289333e4568d8d..fd00a42d5b62def11c0deba205382a6772f7f0c3 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-293,7
+293,7
@@
def configure(conf):
''',
'HAVE_FALLTHROUGH_ATTRIBUTE',
addmain=False,
-
cflags='-Werror'
,
+
strict=True
,
msg='Checking for fallthrough attribute')
# these may be builtins, so we need the link=False strategy