diff --git a/meson.build b/meson.build index a5af3b8bd..4d3736466 100644 --- a/meson.build +++ b/meson.build @@ -41,6 +41,7 @@ if cpp.get_argument_syntax() == 'msvc' # NOTE: Only add warnings here if you are sure they're spurious msvc_args = [ '/wd4244', # lossy type conversion (e.g. double -> int) + '/bigobj', # hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit cpp.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 ] add_project_arguments(msvc_args, language: ['c', 'cpp'])