mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Silence ignore attributes warnings in templates
For the 32-bit host.
This commit is contained in:
+8
-1
@@ -107,7 +107,14 @@ if get_option('use-bitbridge')
|
|||||||
native : false,
|
native : false,
|
||||||
include_directories : include_dir,
|
include_directories : include_dir,
|
||||||
dependencies : [boost_dep, bitsery_dep, wine_threads_dep, xcb_dep],
|
dependencies : [boost_dep, bitsery_dep, wine_threads_dep, xcb_dep],
|
||||||
cpp_args : compiler_options + ['-m32'],
|
# 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'],
|
||||||
link_args : ['-m32']
|
link_args : ['-m32']
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user