Closed Bug 1256548 Opened 8 years ago Closed 8 years ago

media\webrtc\trunk\webrtc/base/criticalsection.h(59): warning C4312: 'reinterpret_cast': conversion from 'DWORD' to 'HANDLE' of greater size from ipc/glue/BackgroundChildImpl.cpp

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1257317

People

(Reporter: gps, Unassigned)

References

Details

Attachments

(1 file)

This warning (from a WebRTC header) gets turned into an error when building with Visual Studio 2015 Update 1 in automation.
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists on fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary. That being said, the underlying problem in the
warning this fixes appears to be in a header from 3rd party WebRTC
code, so our hands might be tied.

Review commit: https://reviewboard.mozilla.org/r/39983/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/39983/
Attachment #8731410 - Flags: review?(dvander)
Comment on attachment 8731410 [details]
MozReview Request: Bug 1256548 - Disable C4312 to unblock compilation on VS2015; r?dvander

https://reviewboard.mozilla.org/r/39983/#review37137
Attachment #8731410 - Flags: review?(dvander) → review+
I'm going to mark this as a dupe since this warning (from 3rd party code) appears in multiple places. jesup already fixed a similar warning elsewhere, so hopefully he can work similar magic for this one.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: