https://bz.apache.org/ooo/show_bug.cgi?id=126891

--- Comment #3 from Don Lewis <[email protected]> ---
What version of gcc are you using?  nullptr is a c++11 feature that is supposed
to have first appeared in gcc 4.6.  I test compiled der_gtest.cc with gcc 4.8
here and got the same error unless I specified -std=c++0x.  Since your build is
using that option, I suspect that your gcc is too old.

Since this could also affect Windows builds and nullptr is only used in the
test code, I think the easiest thing to do would be to skip the tests during
the build.

Find this in main/nss/makefile.mk:

BUILD_DIR=nss
BUILD_ACTION= $(GNUMAKE) nss_build_all
#See #i105566# && moz#513024#
.IF "$(OS)"=="LINUX"
BUILD_ACTION+=FREEBL_NO_DEPEND=1 FREEBL_LOWHASH=1
PATCH_FILES+=nss_linux.patch
.ENDIF

Change this line:
BUILD_ACTION= $(GNUMAKE) nss_build_all
to:
BUILD_ACTION= $(GNUMAKE) nss_build_all NSS_DISABLE_GTESTS=1

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to