From 588250eaeb7136baea30151651af5fd0c2457638 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sun, 1 Mar 2020 19:58:35 +0900 Subject: [PATCH] meson: Apply msvc warning level to cpp too We have c++ code as well. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 5a5f6d2..3a6a8f0 100644 --- a/meson.build +++ b/meson.build @@ -51,7 +51,7 @@ if not meson.is_subproject() and cc.get_id() == 'msvc' '/w14101', # 'identifier' : unreferenced local variable '/w14189', # 'identifier' : local variable is initialized but not referenced cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 - language: 'c') + language: ['c', 'cpp']) endif # Ordered list of subprojects (dict has no ordering guarantees) -- 2.7.4