Closed Bug 1044580 Opened 10 years ago Closed 10 years ago

compilation error: bit_reader.cc:12:3: error: 'nullptr' was not declared in this scope

Categories

(Thunderbird :: Untriaged, defect)

31 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1044581

People

(Reporter: zuliani, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux i686; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140616144915

Steps to reproduce:

Compilation from source failed.


Actual results:

compilation time error message: /tmp/comm-esr31/mozilla/content/media/fmp4/demuxer/bit_reader.cc: In constructor' mp4_demuxer::BitReader::BitReader(const uint8_t*, off_t)':
/tmp/comm-esr31/mozilla/content/media/fmp4/demuxer/bit_reader.cc:12:3: error: 'n
ullptr' was not declared in this scope


Expected results:

Fixed with the following patch:

--- comm-esr31/mozilla/content/media/fmp4/demuxer/bit_reader.cc 2014-07-26 01:35:24.573311554 +0200
+++ comm-esr31a/mozilla/content/media/fmp4/demuxer/bit_reader.cc        2014-07-26 01:33:08.864534993 +0200
@@ -3,6 +3,7 @@
 // found in the LICENSE file.
 
 #include "mp4_demuxer/bit_reader.h"
+#include "mozilla/NullPtr.h"
 #include <algorithm>
 
 namespace mp4_demuxer {
Also present on Firefox 31 (Bug 1044581)
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.