Project

General

Profile

Bug #2150 ยป 0081-Meson-Remove-setting-Wno-error-attributes.patch

Marko Lindqvist, 10/03/2026 02:11 AM

View differences:

meson.build
if get_option('debug')
priv_conf_data.set('FREECIV_DEBUG', 1)
pub_conf_data.set('FREECIV_DEBUG', 1)
if host_system == 'windows'
# Qt headers have problems with dllimport attributes
add_global_arguments('-Wno-error=attributes', language : 'cpp')
endif
else
add_global_arguments('-DQT_NO_DEBUG', language : 'cpp')
endif
    (1-1/1)