Clang trunk error: 'reinterpret_cast' from class 'mozilla::dom::AudioBuffer *' to its base at non-zero offset 'nsWrapperCache *' behaves differently from 'static_cast'

RESOLVED FIXED in mozilla23

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: reuben, Assigned: u454397)

Tracking

Trunk
mozilla23
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
clang version 3.3 (trunk 179322) on OS X:

AudioBufferBinding.cpp:421:14: error: 'reinterpret_cast' from class 'mozilla::dom::AudioBuffer *' to its base at non-zero offset 'nsWrapperCache *' behaves differently from 'static_cast' [-Werror,-Wreinterpret-base-class]
(Reporter)

Comment 1

5 years ago
Created attachment 736626 [details] [diff] [review]
Fix
Attachment #736626 - Flags: review?(bzbarsky)
Comment on attachment 736626 [details] [diff] [review]
Fix

r=me
Attachment #736626 - Flags: review?(bzbarsky) → review+
(Reporter)

Comment 3

5 years ago
Thanks!

https://hg.mozilla.org/integration/mozilla-inbound/rev/378a5b44cd06
https://hg.mozilla.org/mozilla-central/rev/378a5b44cd06
Assignee: nobody → reuben.morais
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.