@@ -2016,10 +2016,6 @@ def print_compiler(self):
2016
2016
# for msvc compatibility
2017
2017
# https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions
2018
2018
# '-fdelayed-template-parsing',
2019
- '-Wno-deprecated-this-capture' ,
2020
- '-Wno-c++11-narrowing-const-reference' ,
2021
- '-Wno-vla-cxx-extension' , # https://github.com/llvm/llvm-project/issues/62836
2022
- '-Wno-invalid-offsetof' ,
2023
2019
]
2024
2020
if target .is_x86 :
2025
2021
flags .append ('-m32' )
@@ -2040,12 +2036,16 @@ def print_compiler(self):
2040
2036
# Issue a warning if certain overload is hidden due to inheritance
2041
2037
'-Woverloaded-virtual' ,
2042
2038
'-Wno-ambiguous-reversed-operator' ,
2039
+ '-Wno-c++11-narrowing-const-reference' ,
2043
2040
'-Wno-defaulted-function-deleted' ,
2044
2041
'-Wno-deprecated-anon-enum-enum-conversion' ,
2045
2042
'-Wno-deprecated-enum-enum-conversion' ,
2046
2043
'-Wno-deprecated-enum-float-conversion' ,
2044
+ '-Wno-deprecated-this-capture' ,
2047
2045
'-Wno-deprecated-volatile' ,
2046
+ '-Wno-invalid-offsetof' ,
2048
2047
'-Wno-undefined-var-template' ,
2048
+ '-Wno-vla-cxx-extension' , # https://github.com/llvm/llvm-project/issues/62836
2049
2049
]
2050
2050
2051
2051
defines .append ('/D_WIN32_WINNT={0}' .format (WINDOWS_VERSION_MIN ))
0 commit comments