fixed: hb-subset.cc -- compile error C1128: number of sections exceeded object file format limit

This commit is contained in:
璀境石 authored and Behdad Esfahbod committed 2024-03-18 19:51:13 -06:00
1 parent 51b775d38d
commit 3d455998bf
1 file changed
+1
+1
View File
@@ -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'])