Closed Bug 871032 Opened 7 years ago Closed 7 years ago

Move the MOZ_ASSERTs in mozWritePoison after the declarations

Categories

(Core :: MFBT, defect)

All
Windows 7
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla24

People

(Reporter: mats, Assigned: mats)

Details

Attachments

(1 file)

No description provided.
Attached patch fixSplinter Review
It turns out MSVC's C-compiler is confused by these MOZ_ASSERTs in an
Opt build where they expand to nothing, leaving just a semi-colon.
Moving them after the declarations fixed it.
Attachment #748271 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/caed788840dd
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
You need to log in before you can comment on or make changes to this bug.