Skip to content

Commit

Permalink
Move new win warnings to other win warnings
Browse files Browse the repository at this point in the history
commit_hash:ef5c32433ce0935c8533f48b895314bdd60bcb0d
  • Loading branch information
4JustMe4 committed Feb 13, 2025
1 parent 22dd441 commit aa05208
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build/ymake_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2016,10 +2016,6 @@ def print_compiler(self):
# for msvc compatibility
# https://clang.llvm.org/docs/UsersManual.html#microsoft-extensions
# '-fdelayed-template-parsing',
'-Wno-deprecated-this-capture',
'-Wno-c++11-narrowing-const-reference',
'-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
'-Wno-invalid-offsetof',
]
if target.is_x86:
flags.append('-m32')
Expand All @@ -2040,12 +2036,16 @@ def print_compiler(self):
# Issue a warning if certain overload is hidden due to inheritance
'-Woverloaded-virtual',
'-Wno-ambiguous-reversed-operator',
'-Wno-c++11-narrowing-const-reference',
'-Wno-defaulted-function-deleted',
'-Wno-deprecated-anon-enum-enum-conversion',
'-Wno-deprecated-enum-enum-conversion',
'-Wno-deprecated-enum-float-conversion',
'-Wno-deprecated-this-capture',
'-Wno-deprecated-volatile',
'-Wno-invalid-offsetof',
'-Wno-undefined-var-template',
'-Wno-vla-cxx-extension', # https://github.com/llvm/llvm-project/issues/62836
]

defines.append('/D_WIN32_WINNT={0}'.format(WINDOWS_VERSION_MIN))
Expand Down

0 comments on commit aa05208

Please sign in to comment.