From 3d455998bf2d48b333522e3f2bd72e720b5d7d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=92=80=E5=A2=83=E7=9F=B3?= Date: Tue, 19 Mar 2024 09:17:42 +0800 Subject: [PATCH] fixed: hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit --- meson.build | 1 + 1 file changed, 1 insertion(+) 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'])