Closed
Bug 1143843
Opened 11 years ago
Closed 11 years ago
Invalid use of offsetof() on non-POD RuntimeDummy
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1080965
People
(Reporter: sstangl, Unassigned)
Details
Reported by Kent Williams on js-engine: https://groups.google.com/forum/#!topic/mozilla.dev.tech.js-engine/GSqPkXdAcTA
Because RuntimeDummy inherits from JS::shadow::Runtime, which has a constructor, RuntimeDummy is non-POD. offsetof() is only defined for POD, although GCC will happily do a reasonable thing given the current situation.
We should fix the struct or knowingly suppress the warning.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•