Closed Bug 1511672 Opened 5 years ago Closed 5 years ago

Warnings about dependant name lookup in AsyncInvoker.h

Categories

(Core :: IPC: MSCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla66
Tracking Status
firefox-esr60 --- fixed
firefox66 --- fixed

People

(Reporter: tcampbell, Assigned: tcampbell)

Details

Attachments

(2 files)

I get the following warnings in a local Win10 build (using the vendored clang binary).

> 114:25.05 warning: obj-x86_64-pc-mingw32/dist/include/mozilla/mscom/AsyncInvoker.h:266:5 [-Wmicrosoft-template] use of undeclared identifier 'mAsyncCall'; unqualified lookup into dependent bases of class template 'AsyncInvoker' is a Microsoft extension
> 114:25.05 warning: obj-x86_64-pc-mingw32/dist/include/mozilla/mscom/AsyncInvoker.h:266:22 [-Wmicrosoft-template] use of undeclared identifier 'AsyncCallType'; unqualified lookup into dependent bases of class template 'AsyncInvoker' is a Microsoft extension
> 114:25.05 warning: obj-x86_64-pc-mingw32/dist/include/mozilla/mscom/AsyncInvoker.h:289:10 [-Wmicrosoft-template] use of undeclared identifier 'mAsyncCall'; unqualified lookup into dependent bases of class template 'AsyncInvoker' is a Microsoft extension
> 114:25.05 warning: obj-x86_64-pc-mingw32/dist/include/mozilla/mscom/AsyncInvoker.h:293:38 [-Wmicrosoft-template] use of undeclared identifier 'mAsyncCall'; unqualified lookup into dependent bases of class template 'AsyncInvoker' is a Microsoft extension

The fix is a few uses of |this->| and |typename|.
Pushed by tcampbell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/933fb2f29cff
Fix dependent base lookups in AsyncInvoker.h r=froydnj
https://hg.mozilla.org/mozilla-central/rev/933fb2f29cff
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla66

[ESR Uplift Approval Request]

If this is not a sec:{high,crit} bug, please state case for ESR consideration: Needed for the mingwclang build to be able to --enable-accesibility

User impact if declined: Tor will have to carry an additional few patches; and we will have no mingwclang build on TC that compiled with --enable-accessibility (so if it broke we wouldn't notice until Tor did a release.)

Fix Landed on Version: 66.0a1 / 20181211093801

Risk to taking this patch: Low

Why is the change risky/not risky? (and alternatives if risky): All it does is make the compiler happy.

String or UUID changes made by this patch:

Attachment #9036095 - Flags: approval-mozilla-esr60?

Comment on attachment 9036095 [details] [diff] [review]
Bug 1511672 - Fix dependent base lookups in AsyncInvoker.h r=froydnj (esr60)

build fix for mingwclang, approved for 60.5esr

Attachment #9036095 - Flags: approval-mozilla-esr60? → approval-mozilla-esr60+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: