Bug 234498

Summary: [Win] MSVC reports "COMPropertyBag.h(233): error C2385: ambiguous access of 'IUnknown'" with /std:c++20
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: WebKit Misc.Assignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 233448    
Attachments:
Description Flags
Patch none

Description Fujii Hironori 2021-12-19 20:32:41 PST
[Win] MSVC reports "COMPropertyBag.h(233): error C2385: ambiguous access of 'IUnknown'" with /std:c++20

> C:\home\webkit\gc\Source\WebKitLegacy\win\COMPropertyBag.h(233): error C2385: ambiguous access of 'IUnknown'

This problem has been reported in the following ticket, and it has a workaround.

error C2385: ambiguous access of 'IUnknown' referring to common base class in VS2017.7 Preview 3 - Visual Studio Feedback
https://developercommunity.visualstudio.com/t/error-c2385-ambiguous-access-of-iunknown-referring/230955
Comment 1 Fujii Hironori 2021-12-19 20:39:35 PST
Created attachment 447575 [details]
Patch
Comment 2 EWS 2021-12-20 12:20:52 PST
Committed r287272 (245428@main): <https://commits.webkit.org/245428@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 447575 [details].
Comment 3 Radar WebKit Bug Importer 2021-12-20 12:21:16 PST
<rdar://problem/86735423>