Closed Bug 923472 Opened 11 years ago Closed 11 years ago

Build error caused by bug 914479

Categories

(Core :: Audio/Video, defect)

All
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27
Tracking Status
firefox26 --- fixed
firefox27 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

(Whiteboard: [qa-])

Attachments

(3 files)

Attached file Build error
+++ This bug was initially created as a clone of Bug #914479 +++

Dunno why this happened only to me, but compiling a debug build for OS X failed in AppleMP3Decoder.cpp. The code was added in bug 914479.
Attached file My mozconfig
Attached is my mozconfig. This is my clang version:

kats@kgupta-air mozilla-git$ /usr/bin/clang++ --version
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
Attached patch PatchSplinter Review
This is what I used to work around it. Should be equivalent, I think. If there's a better fix I'm all ears.
Attachment #813549 - Flags: review?(edwin)
Comment on attachment 813549 [details] [diff] [review]
Patch

Review of attachment 813549 [details] [diff] [review]:
-----------------------------------------------------------------

Edwin's on PTO, so I'll r+ this.

Does "outputFormat = { 0 };" not have the same effect?
Attachment #813549 - Flags: review?(edwin) → review+
(In reply to Chris Pearce (:cpearce) from comment #3)
> Does "outputFormat = { 0 };" not have the same effect?

That fails to compile as well.
https://hg.mozilla.org/mozilla-central/rev/bfaa33785f73
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
This made it into mozilla-aurora after the merge. Should we request approval-mozilla-aurora?
Comment on attachment 813549 [details] [diff] [review]
Patch

[Approval Request Comment]
Bug caused by (feature/regressing bug #): bug 914479
User impact if declined: build error on some compilers
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): low to none
String or IDL/UUID changes made by this patch: none
Attachment #813549 - Flags: approval-mozilla-aurora?
Attachment #813549 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: