13
0

Really fix compiler warnings for clang < v15

see also 57a6773833
This commit is contained in:
Robin Gareus 2024-09-26 01:25:54 +02:00
parent 60b3b24cc8
commit 0357c12fcc

View File

@ -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 # 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 = compiler_flags_dictionaries['clang-darwin'].copy()
clang15_darwin_dict['basic-warnings'].append ("-Wno-deprecated-builtins") clang15_darwin_dict['basic-warnings'] = clang15_darwin_dict['basic-warnings'] + ["-Wno-deprecated-builtins", "-Wno-deprecated-copy-with-user-provided-copy"]
clang15_darwin_dict['basic-warnings'].append ("-Wno-deprecated-copy-with-user-provided-copy")
compiler_flags_dictionaries['clang15-darwin'] = clang15_darwin_dict compiler_flags_dictionaries['clang15-darwin'] = clang15_darwin_dict
# Version stuff # Version stuff