Bug 234501 - [Win] MSVC reports "COMVariantSetter.h(133): error C2760: syntax error: unexpected token 'identifier', expected ';'" with /std:c++20
Summary: [Win] MSVC reports "COMVariantSetter.h(133): error C2760: syntax error: unexp...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Fujii Hironori
URL:
Keywords: InRadar
Depends on:
Blocks: 233448
  Show dependency treegraph
 
Reported: 2021-12-19 20:41 PST by Fujii Hironori
Modified: 2021-12-20 11:59 PST (History)
2 users (show)

See Also:


Attachments
Patch (3.14 KB, patch)
2021-12-19 20:46 PST, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-12-19 20:41:48 PST
[Win] MSVC reports "COMVariantSetter.h(133): error C2760: syntax error: unexpected token 'identifier', expected ';'" with /std:c++20

> Source\WebKitLegacy\win\COMVariantSetter.h(133): error C2760: syntax error: unexpected token 'identifier', expected ';'
> Source\WebKitLegacy\win\COMVariantSetter.h(140): note: see reference to class template instantiation 'COMVariantSetter<WTF::Vector<T,0,WTF::CrashOnOverflow,16,WTF::VectorMalloc>>' being compiled
Comment 1 Fujii Hironori 2021-12-19 20:46:40 PST
Created attachment 447577 [details]
Patch
Comment 2 Fujii Hironori 2021-12-20 11:58:44 PST
Comment on attachment 447577 [details]
Patch

Clearing flags on attachment: 447577

Committed r287269 (245425@trunk): <https://commits.webkit.org/245425@trunk>
Comment 3 Fujii Hironori 2021-12-20 11:58:48 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2021-12-20 11:59:17 PST
<rdar://problem/86734480>