diff --git a/test/meson.build b/test/meson.build index b717cc662..f831afa6c 100644 --- a/test/meson.build +++ b/test/meson.build @@ -1,31 +1,6 @@ -gtest_compile_args = [ - '-Wno-undef', -] - -if compiler.get_id() == 'gcc' - gtest_compile_args += [ - '-Wno-suggest-attribute=format', - '-Wno-suggest-attribute=noreturn', - '-Wno-missing-declarations', - ] -endif - -if compiler.get_id() == 'clang' and compiler.version().version_compare('>=9') - gtest_compile_args += [ - # work around clang warning caused by GTest's wrong "-lpthread" - # compiler flag - '-Wno-unused-command-line-argument', - - # work around "error: 'ScopedTrace' was marked unused but was - # used" - '-Wno-used-but-marked-unused', - ] -endif - gtest_main_dep = dependency('gtest', main: true, fallback: ['gtest', 'gtest_main_dep']) gtest_dep = declare_dependency( dependencies: [gtest_main_dep], - compile_args: gtest_compile_args, ) subdir('util')