From 38c3f210031e68732a47e7d931a138204b4920e3 Mon Sep 17 00:00:00 2001 From: klockky Date: Tue, 23 Jun 2026 15:21:34 +0300 Subject: [PATCH] =?UTF-8?q?build(windows):=20suppress=20STL1011=20=D0=B4?= =?UTF-8?q?=D0=BB=D1=8F=20=20=D0=B2=20inappwebview?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- windows/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt index 2667668..4f40850 100644 --- a/windows/CMakeLists.txt +++ b/windows/CMakeLists.txt @@ -32,6 +32,11 @@ set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}") # Use Unicode for all projects. add_definitions(-DUNICODE -D_UNICODE) +# Newer MSVC toolchains (VS 2022 17.13+/VS 18) turn the deprecated +# header used by flutter_inappwebview_windows into a +# hard error (STL1011). Suppress it project-wide so plugins keep building. +add_compile_definitions(_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS) + # Compilation settings that should be applied to most targets. # # Be cautious about adding new options here, as plugins use this function by