socket_wrapper: Be strict when checking __attribute__ features
authorAmitay Isaacs <amitay@gmail.com>
Tue, 3 Jul 2018 04:36:16 +0000 (14:36 +1000)
committerMartin 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>
third_party/socket_wrapper/wscript

index 86c9b3b59edcb78878c63280a29f02e40e448274..f48debe8b1578d19b832308b4e27c570d883aeb2 100644 (file)
@@ -36,6 +36,7 @@ def configure(conf):
             ''',
             'HAVE_DESTRUCTOR_ATTRIBUTE',
             addmain=False,
+            strict=True,
             msg='Checking for library destructor support')
 
         # check HAVE_FUNCTION_ATTRIBUTE_FORMAT
@@ -48,6 +49,7 @@ def configure(conf):
             ''',
             'HAVE_FUNCTION_ATTRIBUTE_FORMAT',
             addmain=False,
+            strict=True,
             msg='Checking for printf format validation support')
 
         conf.CHECK_HEADERS('sys/signalfd.h')