Bug 234498 - [Win] MSVC reports "COMPropertyBag.h(233): error C2385: ambiguous access of 'IUnknown'" with /std:c++20
Summary: [Win] MSVC reports "COMPropertyBag.h(233): error C2385: ambiguous access of '...
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:32 PST by Fujii Hironori
Modified: 2021-12-20 12:21 PST (History)
2 users (show)

See Also:


Attachments
Patch (1.93 KB, patch)
2021-12-19 20:39 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: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>