meson: Specify encoding as utf-8 for msvc

Some projects does not have this option which causes verbose warnings
This commit is contained in:
Seungha Yang 2019-10-23 16:54:43 +09:00 committed by GStreamer Merge Bot
parent df0808f493
commit f7ac326d5a

View file

@ -50,6 +50,7 @@ if not meson.is_subproject() and cc.get_id() == 'msvc'
'/w14062', # enumerator 'identifier' in switch of enum 'enumeration' is not handled
'/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')
endif