Globally ignore attribute warnings on Wine side

These started happening after Wine 5.12, and it doesn't look like it's
going to change.
This commit is contained in:
Robbert van der Helm
2022-09-05 16:22:36 +02:00
parent 6098ebc778
commit 9cea175f2a
6 changed files with 5 additions and 30 deletions
+4
View File
@@ -66,6 +66,10 @@ chainloader_compiler_options = [
# definitions, so we'll try to exclude those bits
wine_compiler_options = [
'-DNOMINMAX',
# Since Wine 5.12 any use of attributes (like visibility specifiers, or
# calling conventions) in templated member or variable types causes a warning
'-Wno-attributes',
'-Wno-ignored-attributes',
# Winsock conflicts with the Posix sockets API. Before Wine 6.8 there was a
# `WINE_NOWINSOCK` that would exclude just `winsock.h` from `windows.h`, but
# they got rid of that so we now need to explicitly define the ifdef guards