Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use std:: coroutines for compatibility with C++20 and Clang 17 (#12887)
* Use std:: coroutines for compatibility with C++20 and Clang 17 Newer versions of Clang do not support mixing C++20 and std::experimental coroutines. In such cases, we should prefer the coroutine types declared in the std:: namespace. Fortunately, there is already a helper namespace for this in winrt/base.h. * Change files * yarn format
- Loading branch information
Showing
3 changed files
with
11 additions
and
4 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/react-native-windows-7a71f7ee-8200-414f-a2a3-21c273419000.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "prerelease", | ||
"comment": "Use std:: coroutines for compatibility with C++20 and Clang 17", | ||
"packageName": "react-native-windows", | ||
"email": "ericroz@meta.com", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters