Suppress unknown-attribute warnings on Windows

This commit is contained in:
Struma 2020-02-29 21:31:25 -05:00 committed by Roza
parent 1fd2e65cf4
commit 4df82adf3a

View file

@ -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')