From 4df82adf3ae677b493866293af7df43bb7a0bed2 Mon Sep 17 00:00:00 2001 From: Struma Date: Sat, 29 Feb 2020 21:31:25 -0500 Subject: [PATCH] Suppress unknown-attribute warnings on Windows --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 03f6b6ca..a1e15ce1 100644 --- a/meson.build +++ b/meson.build @@ -96,6 +96,9 @@ global_args += ['-Wno-non-virtual-dtor', '-Wno-reorder', '-Wno-uninitialized', ' if compilers['objc'].get_id() == 'clang' global_args += ['-Wno-undefined-var-template', '-Wno-delete-non-abstract-non-virtual-dtor'] endif +if host_system == 'windows' + global_args += '-Wno-unknown-attributes' +endif # Decide whether or not to use MiniFFI miniffi = get_option('use_miniffi')