Closed Bug 986786 Opened 10 years ago Closed 10 years ago

can't build on Linux/gcc 4.6 due to fmp4 assuming 'override' is supported

Categories

(Core :: Audio/Video, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 986885

People

(Reporter: dbaron, Unassigned)

References

Details

I can't build since https://hg.mozilla.org/integration/mozilla-inbound/rev/56244a819a29 because https://hg.mozilla.org/mozilla-central/file/72c2f9ebf4bc/content/media/fmp4/demuxer/basictypes.h#l28 assumes that the compiler supports the override keyword.

I'm using gcc 4.6 (the default compiler) on Ubuntu 12.04 LTS.

Errors begin with:

In file included from ../../dist/include/mp4_demuxer/mp4_demuxer.h:11:0,
                 from ../../dist/include/MP4Reader.h:13,
                 from /home/dbaron/builds/ssd/mozilla-central/mozilla/content/me
dia/DecoderTraits.cpp:63:
../../dist/include/mp4_demuxer/box_definitions.h: At global scope:
../../dist/include/mp4_demuxer/box_definitions.h:35:3: error: expected ‘;’ at end of member declaration
../../dist/include/mp4_demuxer/box_definitions.h:35:3: error: ‘override’ does not name a type
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.