meson: Apply msvc warning level to cpp too

We have c++ code as well.
This commit is contained in:
Seungha Yang 2020-03-01 19:58:35 +09:00
parent d06b4ffe1e
commit 588250eaeb

View file

@ -51,7 +51,7 @@ if not meson.is_subproject() and cc.get_id() == 'msvc'
'/w14101', # 'identifier' : unreferenced local variable '/w14101', # 'identifier' : unreferenced local variable
'/w14189', # 'identifier' : local variable is initialized but not referenced '/w14189', # 'identifier' : local variable is initialized but not referenced
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8 cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
language: 'c') language: ['c', 'cpp'])
endif endif
# Ordered list of subprojects (dict has no ordering guarantees) # Ordered list of subprojects (dict has no ordering guarantees)