resolv_wrapper: Be strict when checking __attribute__ features
authorAmitay Isaacs <amitay@gmail.com>
Tue, 3 Jul 2018 04:45:24 +0000 (14:45 +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/resolv_wrapper/wscript

index be3e82be3ea1baa5aeeacdd867a67b0948784b43..bb7722e97758e462413ce726117ebd2a345d2b7e 100644 (file)
@@ -36,6 +36,7 @@ def configure(conf):
             ''',
             'HAVE_DESTRUCTOR_ATTRIBUTE',
             addmain=False,
+            strict=True,
             msg='Checking for library destructor support')
 
         # check HAVE_ATTRIBUTE_PRINTF_FORMAT
@@ -48,6 +49,7 @@ def configure(conf):
             ''',
             'HAVE_ATTRIBUTE_PRINTF_FORMAT',
             addmain=False,
+            strict=True,
             msg='Checking for printf format validation support')
 
         conf.CHECK_HEADERS('resolv.h')