From: Amitay Isaacs Date: Tue, 3 Jul 2018 04:45:39 +0000 (+1000) Subject: uid_wrapper: Be strict when checking __attribute__ features X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=734ea271ab01e74d0694f3fbc9acdf980d866b30;p=metze%2Fsamba%2Fwip.git uid_wrapper: 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 Autobuild-User(master): Martin Schwenke Autobuild-Date(master): Thu Jul 5 03:01:33 CEST 2018 on sn-devel-144 --- diff --git a/third_party/uid_wrapper/wscript b/third_party/uid_wrapper/wscript index 6e1540f108d5..6344ebf5eba4 100644 --- a/third_party/uid_wrapper/wscript +++ b/third_party/uid_wrapper/wscript @@ -51,7 +51,8 @@ def configure(conf): ''', 'HAVE_ADDRESS_SANITIZER_ATTRIBUTE', addmain=False, - cflags='-Wall -Wextra -Werror', + cflags='-Wall -Wextra', + strict=True, msg='Checking for address sanitizer attribute') # check HAVE_FUNCTION_ATTRIBUTE_FORMAT @@ -64,6 +65,7 @@ def configure(conf): ''', 'HAVE_FUNCTION_ATTRIBUTE_FORMAT', addmain=False, + strict=True, msg='Checking for printf format validation support') # Prototype checks conf.CHECK_C_PROTOTYPE('setgroups',