Closed
Bug 973913
Opened 10 years ago
Closed 10 years ago
ExtendedValidation.cpp fails to compile with older gcc 4.4 compiler (nullptr problem)
Categories
(Core :: Security: PSM, defect)
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: mcsmurf, Unassigned)
References
Details
I've noticed security/certverifier/ExtendedValidation.cpp does not compile with an older gcc 4.4 compiler (which is still supported as far as I know, though higher version is recommend :): ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:115:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:129:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:141:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:153:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:166:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:179:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:191:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:206:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:218:5: error: ‘nullptr’ was not declared in this scope ../../../../mozilla/security/certverifier/ExtendedValidation.cpp:232:5: error: ‘nullptr’ was not declared in this scope and so on. Probably need to "#include "mozilla/NullPtr.h"" in this file?
Comment 2•10 years ago
|
||
Not sure it is worth tracking. However, I will be happy to uplift a patch in Aurora. By the way, I am not sure gcc 4.4 is still maintained (at least from the upstream perspective)
Comment 3•10 years ago
|
||
I think a fix for this just landed in mozilla-inbound in revision b7030189c2ca. See: https://hg.mozilla.org/integration/mozilla-inbound/diff/b7030189c2ca/security/certverifier/ExtendedValidation.cpp Please let me know if the build now works for you.
Flags: needinfo?(bugzilla)
Flags: needinfo?(bugspam.Callek)
Updated•10 years ago
|
Updated•10 years ago
|
Assignee: brian → nobody
Reporter | ||
Comment 4•10 years ago
|
||
Let's call this fixed.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: needinfo?(bugzilla)
Flags: needinfo?(bugspam.Callek)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•