From bf88eba9458699ee924f12eb006a88d158ec7a37 Mon Sep 17 00:00:00 2001
From: Marko Lindqvist <cazfi74@gmail.com>
Date: Sat, 3 Oct 2026 02:09:23 +0300
Subject: [PATCH 81/81] Meson: Remove setting "-Wno-error=attributes"

See RM #2150

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
---
 meson.build | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/meson.build b/meson.build
index b1ea959162..73f9075d13 100644
--- a/meson.build
+++ b/meson.build
@@ -175,10 +175,6 @@ priv_conf_data.set('SIZEOF_INT', c_compiler.sizeof('int'))
 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
-- 
2.53.0

