diff --git a/meson.build b/meson.build index 46446cd8d..199ac1fe9 100644 --- a/meson.build +++ b/meson.build @@ -31,7 +31,9 @@ project( ) cpp = meson.get_compiler('cpp') -args = cpp.get_supported_arguments(['/bigobj']) +# Hide two noisy MSVC warnings (C4251/C4275) about standard-library types used in +# our public classes. They're harmless because the whole library ships as one DLL. +args = cpp.get_supported_arguments(['/bigobj', '/wd4251', '/wd4275']) add_project_arguments(args, language: 'cpp') subdir('src')