[gtkmm/use-dllexport-3-24-meson: 19/21] Meson: Use '-utf-8' for the the MSVC C compiler



commit 87a9a03043655c9a27bca8c1853042152f13f049
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Wed May 13 17:18:59 2020 +0800

    Meson: Use '-utf-8' for the the MSVC C compiler
    
    We are also generating a GResource C file that will be compiled, so also use
    the -utf-8 compiler flag for the C compiler too

 meson.build | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/meson.build b/meson.build
index e6d9b9f8..5480533d 100644
--- a/meson.build
+++ b/meson.build
@@ -225,6 +225,7 @@ dummy_header_py = gtkmm_script_dir / 'dummy-header.py'
 # Do we build the gdkmm/gtkmm without using gendef.exe?
 if is_msvc
   add_project_arguments(cpp_compiler.get_supported_arguments([ '/utf-8', '/wd4828']), language: 'cpp')
+  add_project_arguments(cpp_compiler.get_supported_arguments([ '/utf-8']), language: 'c')
 
   # Check for the first line in a file generated with gmmproc,
   # to see which gmmproc version was used


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]