Skip to content

Commit 58dfeac

Browse files
ashifali3147claude
andcommitted
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. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8d265c8 commit 58dfeac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example/windows/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}")
2727
set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")
2828

2929
# Use Unicode for all projects.
30-
add_definitions(-DUNICODE -D_UNICODE)
30+
add_definitions(-DUNICODE -D_UNICODE -D_SILENCE_EXPERIMENTAL_COROUTINE_DEPRECATION_WARNINGS)
3131

3232
# Compilation settings that should be applied to most targets.
3333
function(APPLY_STANDARD_SETTINGS TARGET)

0 commit comments

Comments
 (0)