| Summary: | [MSVC][Win] Using C++20's concept cause WinCairo compiler to crash | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Tools / Tests | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | Hironori.Fujii |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Jean-Yves Avenard [:jya]
2023-09-15 02:25:01 PDT
The compiler crashes with: ``` C:\BW\WinCairo-EWS\build\WebKitBuild\Release\WTF\Headers\wtf/TypeTraits.h(134): fatal error C1001: Internal compiler error. ``` I can confirm that it's just this one:
```
template <typename T, typename U>
concept RelatedNativePromise = requires(T, U)
{
{ IsNativePromise<T> };
{ IsNativePromise<U> };
{ std::is_same<typename T::NativePromiseBaseType, typename U::NativePromiseBaseType>::value };
};
```
that causes the crash
Wth the migration from mcvc to clang-cl this may no longer be an issue. The migration isn't completed yet. I will remove the #if after the migration is completed. WebKit Windows port hasn't dropped MSVC support yet. VS 2022 v17.9.6 still reports the internal compiler error for wtf/TypeTraits.h. *** This bug has been marked as a duplicate of bug 274018 *** |