From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:36:33 +0000 (+1000) Subject: replace: Be strict when checking __attribute__ features X-Git-Tag: tevent-0.9.37~127 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=59dfd2d797b7fa1610610ad1db2f31d5dfae4f06;p=thirdparty%2Fsamba.git replace: Be strict when checking __attribute__ features BUG: https://bugzilla.samba.org/show_bug.cgi?id=13493 Signed-off-by: Amitay Isaacs Reviewed-by: Andreas Schneider --- diff --git a/lib/replace/wscript b/lib/replace/wscript index 66694f7d0af..fd00a42d5b6 100644 --- 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