From 0357c12fccb854ecc7c7d25b0b7630a22b29cbe3 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Thu, 26 Sep 2024 01:25:54 +0200 Subject: [PATCH] Really fix compiler warnings for clang < v15 see also 57a67738335c8d055599c5792d014bc6d7c6bc21 --- wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wscript b/wscript index ff547a80d1..bf434811b2 100644 --- a/wscript +++ b/wscript @@ -165,8 +165,7 @@ compiler_flags_dictionaries['clang-darwin'] = clang_darwin_dict # Xcode 15 does not like our boost version, producing warnings from almost every file clang15_darwin_dict = compiler_flags_dictionaries['clang-darwin'].copy() -clang15_darwin_dict['basic-warnings'].append ("-Wno-deprecated-builtins") -clang15_darwin_dict['basic-warnings'].append ("-Wno-deprecated-copy-with-user-provided-copy") +clang15_darwin_dict['basic-warnings'] = clang15_darwin_dict['basic-warnings'] + ["-Wno-deprecated-builtins", "-Wno-deprecated-copy-with-user-provided-copy"] compiler_flags_dictionaries['clang15-darwin'] = clang15_darwin_dict # Version stuff