Silence warnings on decltype() with Wine 5.22

There were already similar warnings on 32-bit winegcc, but now it also
happens on the 64-bit version. Instead of adding
`-Wno-ignored-attributes` we'll just sprinkle some warning ignores here
and there to prevent any other surprises.
This commit is contained in:
Robbert van der Helm
2020-11-29 13:18:15 +01:00
parent cbf276b7dc
commit e08162fabf
5 changed files with 24 additions and 9 deletions
+2 -9
View File
@@ -200,14 +200,7 @@ if with_bitbridge
wine_threads_dep,
xcb_dep
],
# FIXME: 32-bit winegcc defines `__stdcall` differently than the 64-bit
# version, and one of the changes is the inclusion of
# `__atribute__((__force_align_arg_pointer__))`. For whetever reason
# this causes GCC to complain when using function pointers with the
# `__stdcall` calling convention in template arguments, although it
# otherwise works just fine. We don't ignore any warnings in the
# regular host application so this should not cause any issues!
cpp_args : compiler_options + ['-m32', '-Wno-ignored-attributes'],
cpp_args : compiler_options + ['-m32'],
link_args : ['-m32']
)
@@ -225,7 +218,7 @@ if with_bitbridge
wine_threads_dep,
xcb_dep
],
cpp_args : compiler_options + ['-m32', '-Wno-ignored-attributes'],
cpp_args : compiler_options + ['-m32'],
link_args : ['-m32']
)
endif