summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2022-10-27 08:43:39 +0200
committerJeremy Allison <jra@samba.org>2022-10-27 18:18:36 +0000
commit0e8949bde01b5007612c1c0a17e10d2c5bbb1846 (patch)
treedad0ecd5a472bd73cc7b244175cdb02a63d5629d /third_party
parentb787692b5e915031d4653bf375995320ed1aca07 (diff)
downloadsamba-0e8949bde01b5007612c1c0a17e10d2c5bbb1846.tar.gz
wafsamba: Add -Werror=old-style-definition
See https://fedoraproject.org/wiki/Changes/PortingToModernC Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'third_party')
-rw-r--r--third_party/heimdal_build/wscript_configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/heimdal_build/wscript_configure b/third_party/heimdal_build/wscript_configure
index a7000d7e774..ee58f7c2182 100644
--- a/third_party/heimdal_build/wscript_configure
+++ b/third_party/heimdal_build/wscript_configure
@@ -75,7 +75,8 @@ heimdal_no_error_flags = ['-Wno-error=discarded-qualifiers',
'-Wno-error=unused-but-set-variable',
'-Wno-error=unused-const-variable',
'-Wno-error=unused-variable',
- '-Wno-error=unused-result']
+ '-Wno-error=unused-result',
+ '-Wno-error=old-style-definition']
for flag in heimdal_no_error_flags:
conf.ADD_NAMED_CFLAGS('HEIMDAL_NO_ERROR_CFLAGS',
flag,