mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
meson: Specify encoding to UTF-8 when building with MSVC
Use build arguments consistent with core and -base. This can also remove noisy "C4819" warning of non-us locale MSVC.
This commit is contained in:
parent
5fad0735a5
commit
69ad6af83c
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ if cc.get_id() == 'msvc'
|
||||||
'/wd4146', # unary minus on unsigned (beware INT_MIN)
|
'/wd4146', # unary minus on unsigned (beware INT_MIN)
|
||||||
'/wd4244', # lossy type conversion (e.g. double -> int)
|
'/wd4244', # lossy type conversion (e.g. double -> int)
|
||||||
'/wd4305', # truncating type conversion (e.g. double -> float)
|
'/wd4305', # truncating type conversion (e.g. double -> float)
|
||||||
|
cc.get_supported_arguments(['/utf-8']), # set the input encoding to utf-8
|
||||||
language : 'c')
|
language : 'c')
|
||||||
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
# Disable SAFESEH with MSVC for plugins and libs that use external deps that
|
||||||
# are built with MinGW
|
# are built with MinGW
|
||||||
|
|
Loading…
Reference in a new issue