-
Notifications
You must be signed in to change notification settings - Fork 407
Open
Labels
area-WinAppSDK:TemplatesTopics related to Visual Studio templates for Windows App SDKTopics related to Visual Studio templates for Windows App SDK
Description
Describe the bug
I created a new WinUI C++ Packaged App and built it. this warning was emitted.
Should? be easy to switch to the conformant mode.
cl : command line warning D9047: option 'await' has been deprecated and will be removed in a future release.
Standard C++ coroutines are available by default in C++20 or later, or use '/await:strict' in earlier language modes.
cl : command line warning D9047: option 'await' has been deprecated and will be removed in a future release.
Steps to reproduce the bug
- in VS, File New Project... WinUI C++ App Packaged
- F5 to build
observe the warning output
Expected behavior
no warnings!
To fix this, updating <LanguageStandard> to stdcpp20 resolves the warning.
NuGet package version
None
Packaging type
No response
Windows version
No response
IDE
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
area-WinAppSDK:TemplatesTopics related to Visual Studio templates for Windows App SDKTopics related to Visual Studio templates for Windows App SDK