[gtkmm/use-dllexport-3-24-meson: 6/8] Meson: Use '-utf-8' for the the MSVC C compiler
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/use-dllexport-3-24-meson: 6/8] Meson: Use '-utf-8' for the the MSVC C compiler
- Date: Fri, 15 May 2020 04:04:42 +0000 (UTC)
commit 92829f12f9f10b5dd4127c9499237a0431288d81
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]