mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 04:40:07 +01:00
Meson: Suppress warning C5286 on MSVC
This happens when converting _cairo_status to _cairo_int_status: warning C5286: implicit conversion from enum type '_cairo_int_status' to enum type '_cairo_status'; use an explicit cast to silence this warning
This commit is contained in:
parent
cc51930a32
commit
481c6c78bd
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ if cc.get_id() == 'msvc'
|
|||
add_project_arguments('/wd4244', '/wd4146',
|
||||
# Don't warn about double -> float truncation
|
||||
'/wd4305',
|
||||
# Don't warn about _cairo_status -> _cairo_int_status conversion
|
||||
'/wd5286',
|
||||
language : ['c', 'cpp'])
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue