Closed
Bug 1289235
Opened 9 years ago
Closed 9 years ago
PlatformHandleHelper's implicit conversion to PlatformHandleType fails on MSVC
Categories
(Core :: IPC, defect)
Core
IPC
Tracking
()
RESOLVED
DUPLICATE
of bug 1264566
Tracking | Status | |
---|---|---|
firefox50 | --- | affected |
People
(Reporter: bryce, Assigned: bryce)
Details
Attachments
(1 file)
58 bytes,
text/x-review-board-request
|
Details |
The code:
>> FileDescriptor::PlatformHandleHelper::operator PlatformHandleType
in ipc/glue/FileDescriptor.cpp, is failing to build on latest version of msvc. This looks to be due to the scoping rules for inner and outer types being treated differently than on other compilers. This may have changed in later versions of MSVC, as I haven't seen it previously.
As such, the PlatformHandleType needs to be explicitly namespaced:
>> FileDescriptor::PlatformHandleHelper::operator FileDescriptor::PlatformHandleType
Assignee | ||
Comment 1•9 years ago
|
||
MSVC requires explict namespacing on for the implicit conversion, which is
added in this changeset.
Review commit: https://reviewboard.mozilla.org/r/66956/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/66956/
Attachment #8774520 -
Flags: review?(wmccloskey)
Comment 2•9 years ago
|
||
Why is the patch private?
Assignee | ||
Comment 3•9 years ago
|
||
Push to review being flakey, attempting to get it to play nice now.
Assignee: nobody → bvandyk
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8774520 [details]
Bug 1289235 - Fix failing msvc compilation for PlatformHandleHelper implicit conversion.
MSVC requires explict namespacing on for the implicit conversion, which is
added in this changeset.
Review commit: https://reviewboard.mozilla.org/r/66956/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/66956/
Comment 5•9 years ago
|
||
this is fixed in a followup.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Attachment #8774520 -
Flags: review?(wmccloskey)
You need to log in
before you can comment on or make changes to this bug.
Description
•