diff options
author | David Robillard <d@drobilla.net> | 2022-03-14 17:31:48 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-03-14 17:31:48 -0400 |
commit | cf5cb3441c27102cdebe91d5be25384877758293 (patch) | |
tree | 2f339814196ee91e4305737b5c25d9520ba9436b | |
parent | c6ee8bbe94069f961238a2f0fd11fa0824172b24 (diff) | |
download | pugl-cf5cb3441c27102cdebe91d5be25384877758293.tar.gz pugl-cf5cb3441c27102cdebe91d5be25384877758293.tar.bz2 pugl-cf5cb3441c27102cdebe91d5be25384877758293.zip |
Suppress warnings in MinGW
-rw-r--r-- | meson.build | 6 |
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 |