MSVC Builds: Don't enable -utf-8 explicitly
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 19 Jun 2023 04:48:28 +0000 (12:48 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Nov 2023 19:54:06 +0000 (14:54 -0500)
We already require a Meson release that enables -utf-8 by default, so we don't
really need to explicitly enable it here.

meson.build

index f96487f96409635f5945e0a5ea107efb9921bccb..55d8dcc2be4851e062f0905a75d0bf287f6cebe2 100644 (file)
@@ -251,7 +251,6 @@ if cc.get_id() == 'msvc'
   test_cflags = [
     '-FI@0@/build-aux/msvc/msvc_recommended_pragmas.h'.format(meson.project_source_root()),
     '-D_USE_MATH_DEFINES',
-    '-utf-8',
     '-Zc:preprocessor'
   ]
   add_project_arguments(cc.get_supported_arguments(test_cflags), language: 'c')