mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-01 14:11:15 +00:00
meson: Specify encoding as utf-8 for msvc
Some projects does not have this option which causes verbose warnings
This commit is contained in:
parent
df0808f493
commit
f7ac326d5a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
'/w14062', # enumerator 'identifier' in switch of enum 'enumeration' is not handled
|
||||||
'/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
|
||||||
language: 'c')
|
language: 'c')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue