aboutsummaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 6eb99a3..b465ca1 100644
--- a/meson.build
+++ b/meson.build
@@ -63,6 +63,12 @@ if get_option('strict')
'-Wno-switch-enum',
'-Wno-unsuffixed-float-constants',
]
+
+ if host_machine.system() == 'windows'
+ c_warnings += [
+ '-Wno-suggest-attribute=format',
+ ]
+ endif
elif cc.get_id() == 'msvc'
c_warnings += [
'/wd4028', # formal parameter different from declaration