diff options
author | David Robillard <d@drobilla.net> | 2022-05-28 21:08:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-05-28 22:06:25 -0400 |
commit | 574bf1e11d73059ec5e6099e6806d919e1ac22b0 (patch) | |
tree | 58501a867689c2a02da561503f995adde832e202 /test/meson.build | |
parent | 460b036a8b87f5fb939088a56e3fadc5395ec90a (diff) | |
download | pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.gz pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.tar.bz2 pugl-574bf1e11d73059ec5e6099e6806d919e1ac22b0.zip |
Clean up and strengthen warning flags
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/test/meson.build b/test/meson.build index e16e818..56ec0d7 100644 --- a/test/meson.build +++ b/test/meson.build @@ -27,11 +27,6 @@ if get_option('strict') and is_variable('cpp') '-Wno-documentation', # Cairo '-Wno-documentation-unknown-command', # Cairo '-Wno-old-style-cast', - '-Wno-padded', - ] - elif cpp.get_id() == 'gcc' - test_cpp_args += [ - '-Wno-padded', ] endif @@ -102,7 +97,7 @@ if cairo_dep.found() foreach test : cairo_tests test(test, executable('test_' + test, 'test_@0@.c'.format(test), - c_args: test_c_args, + c_args: test_c_args + cairo_args, include_directories: include_directories(includes), dependencies: [pugl_dep, cairo_backend_dep]), suite: 'unit') @@ -181,7 +176,7 @@ elif is_variable('cpp') ] elif cpp.get_id() == 'msvc' unified_args += [ - '/wd4464' # relative include path contains '..' + '/wd4464', # relative include path contains '..' ] endif |