mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
uid_wrapper: Be strict when checking __attribute__ features
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> Autobuild-User(master): Martin Schwenke <martins@samba.org> Autobuild-Date(master): Thu Jul 5 03:01:33 CEST 2018 on sn-devel-144
This commit is contained in:
committed by
Martin Schwenke
parent
c220e310b4
commit
734ea271ab
4
third_party/uid_wrapper/wscript
vendored
4
third_party/uid_wrapper/wscript
vendored
@ -51,7 +51,8 @@ def configure(conf):
|
|||||||
''',
|
''',
|
||||||
'HAVE_ADDRESS_SANITIZER_ATTRIBUTE',
|
'HAVE_ADDRESS_SANITIZER_ATTRIBUTE',
|
||||||
addmain=False,
|
addmain=False,
|
||||||
cflags='-Wall -Wextra -Werror',
|
cflags='-Wall -Wextra',
|
||||||
|
strict=True,
|
||||||
msg='Checking for address sanitizer attribute')
|
msg='Checking for address sanitizer attribute')
|
||||||
|
|
||||||
# check HAVE_FUNCTION_ATTRIBUTE_FORMAT
|
# check HAVE_FUNCTION_ATTRIBUTE_FORMAT
|
||||||
@ -64,6 +65,7 @@ def configure(conf):
|
|||||||
''',
|
''',
|
||||||
'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
|
'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
|
||||||
addmain=False,
|
addmain=False,
|
||||||
|
strict=True,
|
||||||
msg='Checking for printf format validation support')
|
msg='Checking for printf format validation support')
|
||||||
# Prototype checks
|
# Prototype checks
|
||||||
conf.CHECK_C_PROTOTYPE('setgroups',
|
conf.CHECK_C_PROTOTYPE('setgroups',
|
||||||
|
Reference in New Issue
Block a user