Skip to content
Prev Previous commit
Next Next commit
fix(windows): silence experimental coroutine deprecation in example app
MSVC treats STL1011 as an error via /WX; this suppresses the deprecation
warning from permission_handler_windows until the package is updated.
  • Loading branch information
ashifali3147 committed Jun 1, 2026
commit 4da025196729644a37f97abda6350c4fefc298c4
2 changes: 1 addition & 1 deletion example/windows/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}")
set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")

# Use Unicode for all projects.
add_definitions(-DUNICODE -D_UNICODE)
add_definitions(-DUNICODE -D_UNICODE -D_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS)

# Compilation settings that should be applied to most targets.
function(APPLY_STANDARD_SETTINGS TARGET)
Expand Down
Loading