From 481c6c78bd1914be64acf40633e3b0ff88649538 Mon Sep 17 00:00:00 2001 From: Luca Bacci Date: Mon, 16 Jun 2025 19:01:58 +0200 Subject: [PATCH] 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 --- meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meson.build b/meson.build index 7e279a2f4..4ac5701d0 100644 --- a/meson.build +++ b/meson.build @@ -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