Hi, I'm trying to build v8 version 4.3.66 with MinGW-w64 and I'm getting errors which I can not understand.
It'd be greatly appreciated if someone could make sense of the attached log file and advise on what seems to be the problem, or possible ways to fix it. Thank you, Igal -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
==> Making package: mingw-w64-x86_64-v8 4.3.66-1 (Sun, Jan 24, 2016 7:34:53 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 4.3.66.tar.gz ==> Validating source files with md5sums... 4.3.66.tar.gz ... Passed ==> Extracting sources... -> Extracting 4.3.66.tar.gz with bsdtar ==> Starting prepare()... ==> fixing for python2 name ==> Removing existing $pkgdir/ directory... ==> Starting build()... Updating projects from gyp files... make: Entering directory '/C/Builds/MINGW-packages/mingw-w64-v8/src/v8-4.3.66/out' CXX(target) /C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/accessors.o CXX(target) /C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/allocation.o In file included from .././src/v8.h:29:0, from ../src/accessors.cc:5: .././include/v8.h: In constructor 'v8::MaybeLocal<T>::MaybeLocal()': .././include/v8.h:427:33: error: 'nullptr' was not declared in this scope V8_INLINE MaybeLocal() : val_(nullptr) {} ^ .././include/v8.h: In member function 'bool v8::MaybeLocal<T>::IsEmpty() const': .././include/v8.h:434:51: error: 'nullptr' was not declared in this scope V8_INLINE bool IsEmpty() const { return val_ == nullptr; } ^ .././include/v8.h: In member function 'bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const': .././include/v8.h:438:29: error: 'nullptr' was not declared in this scope out->val_ = IsEmpty() ? nullptr : this->val_; ^ .././include/v8.h: In member function 'bool v8::WeakCallbackInfo<T>::IsFirstPass() const': .././include/v8.h:504:50: error: 'nullptr' was not declared in this scope bool IsFirstPass() const { return callback_ != nullptr; } ^ .././include/v8.h: At global scope: .././include/v8.h:543:1: error: expected unqualified-id before 'using' using PhantomCallbackData = WeakCallbackInfo<T>; ^ .././include/v8.h:546:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class WeakCallbackType { kParameter, kInternalFields }; ^ .././include/v8.h:710:43: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 PersistentBase(PersistentBase& other) = delete; // NOLINT ^ .././include/v8.h:711:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 void operator=(PersistentBase&) = delete; ^ .././include/v8.h:887:26: error: expected ',' or '...' before '&&' token V8_INLINE Global(Global&& other) : PersistentBase<T>(other.val_) { ^ .././include/v8.h:887:34: error: invalid constructor; you probably meant 'v8::Global<T> (const v8::Global<T>&)' V8_INLINE Global(Global&& other) : PersistentBase<T>(other.val_) { ^ .././include/v8.h:895:40: error: expected ',' or '...' before '&&' token V8_INLINE Global& operator=(Global<S>&& rhs) { ^ .././include/v8.h:915:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Global(Global&) = delete; ^ .././include/v8.h:916:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 void operator=(Global&) = delete; ^ .././include/v8.h: In constructor 'v8::Global<T>::Global()': .././include/v8.h:863:42: error: 'nullptr' was not declared in this scope V8_INLINE Global() : PersistentBase<T>(nullptr) {} ^ .././include/v8.h: In member function 'v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>)': .././include/v8.h:897:18: error: 'rhs' was not declared in this scope if (this != &rhs) { ^ .././include/v8.h:900:18: error: 'nullptr' was not declared in this scope rhs.val_ = nullptr; ^ .././include/v8.h: In member function 'v8::Global<T> v8::Global<T>::Pass()': .././include/v8.h:907:44: error: expected '>' before '&&' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h:907:44: error: expected '(' before '&&' token .././include/v8.h:907:46: error: expected identifier before '>' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h:907:54: error: expected ')' before ';' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h: At global scope: .././include/v8.h:922:1: error: expected unqualified-id before 'using' using UniquePersistent = Global<T>; ^ In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././include/v8.h:1120:52: error: 'nullptr' was not declared in this scope ScriptOrigin* origin = nullptr)); ^ .././include/v8config.h:343:48: note: in definition of macro 'V8_DEPRECATE_SOON' #define V8_DEPRECATE_SOON(message, declarator) declarator ^ In file included from .././src/v8.h:29:0, from ../src/accessors.cc:5: .././include/v8.h:1123:30: error: 'nullptr' was not declared in this scope ScriptOrigin* origin = nullptr); ^ .././include/v8.h:2081:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class NewStringType { kNormal, kInternalized }; ^ .././include/v8.h:2289:42: error: 'v8::NewStringType' is not a class or namespace kNormalString = static_cast<int>(v8::NewStringType::kNormal), ^ .././include/v8.h:2290:48: error: 'v8::NewStringType' is not a class or namespace kInternalizedString = static_cast<int>(v8::NewStringType::kInternalized) ^ .././include/v8.h: In member function 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const': .././include/v8.h:3192:36: error: 'nullptr' was not declared in this scope return NewInstance(context, 0, nullptr); ^ .././include/v8.h: At global scope: .././include/v8.h:4274:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class PropertyHandlerFlags { ^ .././include/v8.h:4296:36: error: 'PropertyHandlerFlags' is not a class or namespace PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ .././include/v8.h:4324:36: error: 'PropertyHandlerFlags' is not a class or namespace PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ .././include/v8.h: In member function 'void v8::ObjectTemplate::SetIndexedPropertyHandler(v8::IndexedPropertyGetterCallback, v8::IndexedPropertySetterCallback, v8::IndexedPropertyQueryCallback, v8::IndexedPropertyDeleterCallback, v8::IndexedPropertyEnumeratorCallback, v8::Handle<v8::Value>)': .././include/v8.h:4461:77: error: call to 'v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallback, v8::IndexedPropertySetterCallback, v8::IndexedPropertyQueryCallback, v8::IndexedPropertyDeleterCallback, v8::IndexedPropertyEnumeratorCallback, v8::Handle<v8::Value>, v8::PropertyHandlerFlags)' uses the default argument for parameter 7, which is not yet defined deleter, enumerator, data)); ^ .././include/v8.h: In member function 'v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()': .././include/v8.h:6902:15: error: 'nullptr' was not declared in this scope if (val_ == nullptr) V8::ToLocalEmpty(); ^ In file included from .././src/globals.h:12:0, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckEQImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:123:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(EQ, ==) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckEQImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:123:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(EQ, ==) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckNEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:124:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(NE, !=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckNEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:124:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(NE, !=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:125:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LE, <=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:125:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LE, <=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLTImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:126:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LT, < ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLTImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:126:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LT, < ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:127:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GE, >=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:127:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GE, >=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGTImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:128:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GT, > ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGTImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:128:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GT, > ) ^ In file included from .././src/checks.h:9:0, from .././src/v8.h:31, from ../src/accessors.cc:5: .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckEQImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:123:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(EQ, ==) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckEQImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:123:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(EQ, ==) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckNEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:124:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(NE, !=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckNEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:124:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(NE, !=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:125:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LE, <=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:125:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LE, <=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLTImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:126:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LT, < ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckLTImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:126:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(LT, < ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGEImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:127:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GE, >=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGEImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:127:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GE, >=) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGTImpl(const Lhs&, const Rhs&, const char*)': .././src/base/logging.h:113:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:128:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GT, > ) ^ .././src/base/logging.h: In function 'std::__cxx11::string* v8::base::CheckGTImpl(int, int, const char*)': .././src/base/logging.h:117:36: error: 'nullptr' was not declared in this scope return V8_LIKELY(lhs op rhs) ? nullptr : MakeCheckOpString(lhs, rhs, msg); \ ^ .././src/base/logging.h:128:1: note: in expansion of macro 'DEFINE_CHECK_OP_IMPL' DEFINE_CHECK_OP_IMPL(GT, > ) ^ In file included from .././src/allocation.h:8:0, from .././src/v8.h:32, from ../src/accessors.cc:5: .././src/globals.h: In function 'bool v8::internal::IsValidFunctionKind(v8::internal::FunctionKind)': .././src/globals.h:853:18: error: 'FunctionKind' is not a class or namespace return kind == FunctionKind::kNormalFunction || ^ .././src/globals.h:854:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kArrowFunction || ^ .././src/globals.h:855:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kGeneratorFunction || ^ .././src/globals.h:856:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseMethod || ^ .././src/globals.h:857:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseGeneratorMethod || ^ .././src/globals.h:858:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kAccessorFunction || ^ .././src/globals.h:859:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kDefaultBaseConstructor || ^ .././src/globals.h:860:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kDefaultSubclassConstructor || ^ .././src/globals.h:861:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kBaseConstructor || ^ .././src/globals.h:862:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kSubclassConstructor || ^ .././src/globals.h:863:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseMethodInObjectLiteral || ^ .././src/globals.h:864:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseGeneratorMethodInObjectLiteral || ^ .././src/globals.h:865:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kAccessorFunctionInObjectLiteral; ^ .././src/globals.h: In function 'bool v8::internal::IsArrowFunction(v8::internal::FunctionKind)': .././src/globals.h:871:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kArrowFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsGeneratorFunction(v8::internal::FunctionKind)': .././src/globals.h:877:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kGeneratorFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsConciseMethod(v8::internal::FunctionKind)': .././src/globals.h:883:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kConciseMethod; ^ .././src/globals.h: In function 'bool v8::internal::IsAccessorFunction(v8::internal::FunctionKind)': .././src/globals.h:889:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kAccessorFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsDefaultConstructor(v8::internal::FunctionKind)': .././src/globals.h:895:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kDefaultConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsBaseConstructor(v8::internal::FunctionKind)': .././src/globals.h:901:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kBaseConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsSubclassConstructor(v8::internal::FunctionKind)': .././src/globals.h:907:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kSubclassConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsConstructor(v8::internal::FunctionKind)': .././src/globals.h:914:11: error: 'FunctionKind' is not a class or namespace (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | ^ .././src/globals.h:914:44: error: 'FunctionKind' is not a class or namespace (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | ^ .././src/globals.h:915:11: error: 'FunctionKind' is not a class or namespace FunctionKind::kDefaultConstructor); ^ .././src/globals.h: In function 'bool v8::internal::IsInObjectLiteral(v8::internal::FunctionKind)': .././src/globals.h:921:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kInObjectLiteral; ^ .././src/globals.h: In function 'v8::internal::FunctionKind v8::internal::WithObjectLiteralBit(v8::internal::FunctionKind)': .././src/globals.h:926:43: error: 'FunctionKind' is not a class or namespace kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); ^ In file included from .././src/allocation.h:8:0, from ../src/allocation.cc:5: .././src/globals.h: In function 'bool v8::internal::IsValidFunctionKind(v8::internal::FunctionKind)': .././src/globals.h:853:18: error: 'FunctionKind' is not a class or namespace return kind == FunctionKind::kNormalFunction || ^ .././src/globals.h:854:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kArrowFunction || ^ .././src/globals.h:855:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kGeneratorFunction || ^ .././src/globals.h:856:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseMethod || ^ .././src/globals.h:857:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseGeneratorMethod || ^ .././src/globals.h:858:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kAccessorFunction || ^ .././src/globals.h:859:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kDefaultBaseConstructor || ^ .././src/globals.h:860:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kDefaultSubclassConstructor || ^ .././src/globals.h:861:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kBaseConstructor || ^ .././src/globals.h:862:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kSubclassConstructor || ^ .././src/globals.h:863:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseMethodInObjectLiteral || ^ .././src/globals.h:864:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kConciseGeneratorMethodInObjectLiteral || ^ .././src/globals.h:865:18: error: 'FunctionKind' is not a class or namespace kind == FunctionKind::kAccessorFunctionInObjectLiteral; ^ .././src/globals.h: In function 'bool v8::internal::IsArrowFunction(v8::internal::FunctionKind)': .././src/globals.h:871:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kArrowFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsGeneratorFunction(v8::internal::FunctionKind)': .././src/globals.h:877:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kGeneratorFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsConciseMethod(v8::internal::FunctionKind)': .././src/globals.h:883:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kConciseMethod; ^ .././src/globals.h: In function 'bool v8::internal::IsAccessorFunction(v8::internal::FunctionKind)': .././src/globals.h:889:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kAccessorFunction; ^ .././src/globals.h: In function 'bool v8::internal::IsDefaultConstructor(v8::internal::FunctionKind)': .././src/globals.h:895:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kDefaultConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsBaseConstructor(v8::internal::FunctionKind)': .././src/globals.h:901:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kBaseConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsSubclassConstructor(v8::internal::FunctionKind)': .././src/globals.h:907:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kSubclassConstructor; ^ .././src/globals.h: In function 'bool v8::internal::IsConstructor(v8::internal::FunctionKind)': .././src/globals.h:914:11: error: 'FunctionKind' is not a class or namespace (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | ^ .././src/globals.h:914:44: error: 'FunctionKind' is not a class or namespace (FunctionKind::kBaseConstructor | FunctionKind::kSubclassConstructor | ^ .././src/globals.h:915:11: error: 'FunctionKind' is not a class or namespace FunctionKind::kDefaultConstructor); ^ .././src/globals.h: In function 'bool v8::internal::IsInObjectLiteral(v8::internal::FunctionKind)': .././src/globals.h:921:17: error: 'FunctionKind' is not a class or namespace return kind & FunctionKind::kInObjectLiteral; ^ .././src/globals.h: In function 'v8::internal::FunctionKind v8::internal::WithObjectLiteralBit(v8::internal::FunctionKind)': .././src/globals.h:926:43: error: 'FunctionKind' is not a class or namespace kind = static_cast<FunctionKind>(kind | FunctionKind::kInObjectLiteral); ^ In file included from .././src/utils.h:13:0, from ../src/allocation.cc:11: .././include/v8.h: In constructor 'v8::MaybeLocal<T>::MaybeLocal()': .././include/v8.h:427:33: error: 'nullptr' was not declared in this scope V8_INLINE MaybeLocal() : val_(nullptr) {} ^ .././include/v8.h: In member function 'bool v8::MaybeLocal<T>::IsEmpty() const': .././include/v8.h:434:51: error: 'nullptr' was not declared in this scope V8_INLINE bool IsEmpty() const { return val_ == nullptr; } ^ .././include/v8.h: In member function 'bool v8::MaybeLocal<T>::ToLocal(v8::Local<S>*) const': .././include/v8.h:438:29: error: 'nullptr' was not declared in this scope out->val_ = IsEmpty() ? nullptr : this->val_; ^ .././include/v8.h: In member function 'bool v8::WeakCallbackInfo<T>::IsFirstPass() const': .././include/v8.h:504:50: error: 'nullptr' was not declared in this scope bool IsFirstPass() const { return callback_ != nullptr; } ^ .././include/v8.h: At global scope: .././include/v8.h:543:1: error: expected unqualified-id before 'using' using PhantomCallbackData = WeakCallbackInfo<T>; ^ .././include/v8.h:546:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class WeakCallbackType { kParameter, kInternalFields }; ^ .././include/v8.h:710:43: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 PersistentBase(PersistentBase& other) = delete; // NOLINT ^ .././include/v8.h:711:37: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 void operator=(PersistentBase&) = delete; ^ .././include/v8.h:887:26: error: expected ',' or '...' before '&&' token V8_INLINE Global(Global&& other) : PersistentBase<T>(other.val_) { ^ .././include/v8.h:887:34: error: invalid constructor; you probably meant 'v8::Global<T> (const v8::Global<T>&)' V8_INLINE Global(Global&& other) : PersistentBase<T>(other.val_) { ^ .././include/v8.h:895:40: error: expected ',' or '...' before '&&' token V8_INLINE Global& operator=(Global<S>&& rhs) { ^ .././include/v8.h:915:21: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 Global(Global&) = delete; ^ .././include/v8.h:916:29: warning: defaulted and deleted functions only available with -std=c++11 or -std=gnu++11 void operator=(Global&) = delete; ^ .././include/v8.h: In constructor 'v8::Global<T>::Global()': .././include/v8.h:863:42: error: 'nullptr' was not declared in this scope V8_INLINE Global() : PersistentBase<T>(nullptr) {} ^ .././include/v8.h: In member function 'v8::Global<T>& v8::Global<T>::operator=(v8::Global<S>)': .././include/v8.h:897:18: error: 'rhs' was not declared in this scope if (this != &rhs) { ^ .././include/v8.h:900:18: error: 'nullptr' was not declared in this scope rhs.val_ = nullptr; ^ .././include/v8.h: In member function 'v8::Global<T> v8::Global<T>::Pass()': .././include/v8.h:907:44: error: expected '>' before '&&' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h:907:44: error: expected '(' before '&&' token .././include/v8.h:907:46: error: expected identifier before '>' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h:907:54: error: expected ')' before ';' token Global Pass() { return static_cast<Global&&>(*this); } ^ .././include/v8.h: At global scope: .././include/v8.h:922:1: error: expected unqualified-id before 'using' using UniquePersistent = Global<T>; ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././include/v8.h:1120:52: error: 'nullptr' was not declared in this scope ScriptOrigin* origin = nullptr)); ^ .././include/v8config.h:343:48: note: in definition of macro 'V8_DEPRECATE_SOON' #define V8_DEPRECATE_SOON(message, declarator) declarator ^ In file included from .././src/utils.h:13:0, from ../src/allocation.cc:11: .././include/v8.h:1123:30: error: 'nullptr' was not declared in this scope ScriptOrigin* origin = nullptr); ^ .././include/v8.h:2081:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class NewStringType { kNormal, kInternalized }; ^ .././include/v8.h:2289:42: error: 'v8::NewStringType' is not a class or namespace kNormalString = static_cast<int>(v8::NewStringType::kNormal), ^ .././include/v8.h:2290:48: error: 'v8::NewStringType' is not a class or namespace kInternalizedString = static_cast<int>(v8::NewStringType::kInternalized) ^ .././include/v8.h: In member function 'v8::MaybeLocal<v8::Object> v8::Function::NewInstance(v8::Local<v8::Context>) const': .././include/v8.h:3192:36: error: 'nullptr' was not declared in this scope return NewInstance(context, 0, nullptr); ^ .././include/v8.h: At global scope: .././include/v8.h:4274:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class PropertyHandlerFlags { ^ .././include/v8.h:4296:36: error: 'PropertyHandlerFlags' is not a class or namespace PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ .././include/v8.h:4324:36: error: 'PropertyHandlerFlags' is not a class or namespace PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ .././include/v8.h: In member function 'void v8::ObjectTemplate::SetIndexedPropertyHandler(v8::IndexedPropertyGetterCallback, v8::IndexedPropertySetterCallback, v8::IndexedPropertyQueryCallback, v8::IndexedPropertyDeleterCallback, v8::IndexedPropertyEnumeratorCallback, v8::Handle<v8::Value>)': .././include/v8.h:4461:77: error: call to 'v8::IndexedPropertyHandlerConfiguration::IndexedPropertyHandlerConfiguration(v8::IndexedPropertyGetterCallback, v8::IndexedPropertySetterCallback, v8::IndexedPropertyQueryCallback, v8::IndexedPropertyDeleterCallback, v8::IndexedPropertyEnumeratorCallback, v8::Handle<v8::Value>, v8::PropertyHandlerFlags)' uses the default argument for parameter 7, which is not yet defined deleter, enumerator, data)); ^ .././include/v8.h: In member function 'v8::Local<T> v8::MaybeLocal<T>::ToLocalChecked()': .././include/v8.h:6902:15: error: 'nullptr' was not declared in this scope if (val_ == nullptr) V8::ToLocalEmpty(); ^ In file included from .././src/field-index.h:8:0, from .././src/objects.h:17, from .././src/counters.h:13, from .././src/heap/heap.h:12, from .././src/contexts.h:8, from .././src/objects-inl.h:17, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/property-details.h: At global scope: .././src/property-details.h:190:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class PropertyCellType { ^ In file included from .././src/field-index.h:8:0, from .././src/objects.h:17, from .././src/counters.h:13, from .././src/heap/heap.h:12, from .././src/contexts.h:8, from .././src/objects-inl.h:17, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/property-details.h: At global scope: .././src/property-details.h:190:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class PropertyCellType { ^ .././src/property-details.h: In static member function 'static v8::internal::PropertyDetails v8::internal::PropertyDetails::Empty()': .././src/property-details.h:234:27: error: expected primary-expression before '(' token return PropertyDetails(NONE, DATA, 0, PropertyCellType::kInvalid); ^ .././src/property-details.h:234:43: error: 'PropertyCellType' is not a class or namespace return PropertyDetails(NONE, DATA, 0, PropertyCellType::kInvalid); ^ .././src/property-details.h: In static member function 'static v8::internal::PropertyDetails v8::internal::PropertyDetails::Empty()': .././src/property-details.h:234:27: error: expected primary-expression before '(' token return PropertyDetails(NONE, DATA, 0, PropertyCellType::kInvalid); ^ .././src/property-details.h:234:43: error: 'PropertyCellType' is not a class or namespace return PropertyDetails(NONE, DATA, 0, PropertyCellType::kInvalid); ^ In file included from .././src/counters.h:13:0, from .././src/heap/heap.h:12, from .././src/contexts.h:8, from .././src/objects-inl.h:17, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/objects.h: At global scope: .././src/objects.h:3537:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class DictionaryEntryType { kObjects, kCells }; ^ .././src/objects.h: In member function 'int v8::internal::Dictionary<Derived, Shape, Key>::NumberOfElementsFilterAttributes(v8::internal::Object*, PropertyAttributes)': .././src/objects.h:3589:14: error: parse error in template argument list return NumberOfElementsFilterAttributes<DictionaryEntryType::kCells>( ^ .././src/objects.h:3592:14: error: parse error in template argument list return NumberOfElementsFilterAttributes<DictionaryEntryType::kObjects>( ^ .././src/objects.h: In member function 'int v8::internal::Dictionary<Derived, Shape, Key>::NumberOfEnumElements(v8::internal::Object*)': .././src/objects.h:3605:14: error: parse error in template argument list return NumberOfEnumElements<DictionaryEntryType::kCells>(); ^ .././src/objects.h:3607:14: error: parse error in template argument list return NumberOfEnumElements<DictionaryEntryType::kObjects>(); ^ .././src/objects.h: In member function 'bool v8::internal::Dictionary<Derived, Shape, Key>::HasComplexElements(v8::internal::Object*)': .././src/objects.h:3617:14: error: parse error in template argument list return HasComplexElements<DictionaryEntryType::kCells>(); ^ .././src/objects.h:3619:14: error: parse error in template argument list return HasComplexElements<DictionaryEntryType::kObjects>(); ^ .././src/objects.h: In member function 'void v8::internal::Dictionary<Derived, Shape, Key>::CopyKeysTo(v8::internal::Object*, v8::internal::FixedArray*, PropertyAttributes, v8::internal::Dictionary<Derived, Shape, Key>::SortMode)': .././src/objects.h:3632:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kCells>(storage, filter, ^ .././src/objects.h:3635:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kObjects>(storage, filter, ^ .././src/objects.h: In member function 'void v8::internal::Dictionary<Derived, Shape, Key>::CopyKeysTo(v8::internal::Object*, v8::internal::FixedArray*, int, PropertyAttributes, v8::internal::Dictionary<Derived, Shape, Key>::SortMode)': .././src/objects.h:3647:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kCells>(storage, index, filter, ^ .././src/objects.h:3650:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kObjects>(storage, index, filter, ^ In file included from .././src/counters.h:13:0, from .././src/heap/heap.h:12, from .././src/contexts.h:8, from .././src/objects-inl.h:17, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/objects.h: At global scope: .././src/objects.h:3537:1: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class DictionaryEntryType { kObjects, kCells }; ^ .././src/objects.h: In member function 'int v8::internal::Dictionary<Derived, Shape, Key>::NumberOfElementsFilterAttributes(v8::internal::Object*, PropertyAttributes)': .././src/objects.h:3589:14: error: parse error in template argument list return NumberOfElementsFilterAttributes<DictionaryEntryType::kCells>( ^ .././src/objects.h:3592:14: error: parse error in template argument list return NumberOfElementsFilterAttributes<DictionaryEntryType::kObjects>( ^ .././src/objects.h: In member function 'int v8::internal::Dictionary<Derived, Shape, Key>::NumberOfEnumElements(v8::internal::Object*)': .././src/objects.h:3605:14: error: parse error in template argument list return NumberOfEnumElements<DictionaryEntryType::kCells>(); ^ .././src/objects.h:3607:14: error: parse error in template argument list return NumberOfEnumElements<DictionaryEntryType::kObjects>(); ^ .././src/objects.h: In member function 'bool v8::internal::Dictionary<Derived, Shape, Key>::HasComplexElements(v8::internal::Object*)': .././src/objects.h:3617:14: error: parse error in template argument list return HasComplexElements<DictionaryEntryType::kCells>(); ^ .././src/objects.h:3619:14: error: parse error in template argument list return HasComplexElements<DictionaryEntryType::kObjects>(); ^ .././src/objects.h: In member function 'void v8::internal::Dictionary<Derived, Shape, Key>::CopyKeysTo(v8::internal::Object*, v8::internal::FixedArray*, PropertyAttributes, v8::internal::Dictionary<Derived, Shape, Key>::SortMode)': .././src/objects.h:3632:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kCells>(storage, filter, ^ .././src/objects.h:3635:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kObjects>(storage, filter, ^ .././src/objects.h: In member function 'void v8::internal::Dictionary<Derived, Shape, Key>::CopyKeysTo(v8::internal::Object*, v8::internal::FixedArray*, int, PropertyAttributes, v8::internal::Dictionary<Derived, Shape, Key>::SortMode)': .././src/objects.h:3647:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kCells>(storage, index, filter, ^ .././src/objects.h:3650:14: error: parse error in template argument list return CopyKeysTo<DictionaryEntryType::kObjects>(storage, index, filter, ^ .././src/objects.h: In member function 'void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::Object*, v8::internal::FixedArray*)': .././src/objects.h:3750:14: error: parse error in template argument list return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3750:65: error: no matching function for call to 'v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*&)' return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3747:8: note: candidate: template<v8::internal::DictionaryEntryType type> void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*) void CopyEnumKeysTo(FixedArray* storage); ^ .././src/objects.h:3747:8: note: template argument deduction/substitution failed: .././src/objects.h:3750:65: error: template argument 1 is invalid return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3750:65: error: return-statement with a value, in function returning 'void' [-fpermissive] .././src/objects.h:3752:14: error: parse error in template argument list return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3752:67: error: no matching function for call to 'v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*&)' return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3747:8: note: candidate: template<v8::internal::DictionaryEntryType type> void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*) void CopyEnumKeysTo(FixedArray* storage); ^ .././src/objects.h:3747:8: note: template argument deduction/substitution failed: .././src/objects.h:3752:67: error: template argument 1 is invalid return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3752:67: error: return-statement with a value, in function returning 'void' [-fpermissive] .././src/objects.h: In member function 'void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::Object*, v8::internal::FixedArray*)': .././src/objects.h:3750:14: error: parse error in template argument list return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3750:65: error: no matching function for call to 'v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*&)' return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3747:8: note: candidate: template<v8::internal::DictionaryEntryType type> void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*) void CopyEnumKeysTo(FixedArray* storage); ^ .././src/objects.h:3747:8: note: template argument deduction/substitution failed: .././src/objects.h:3750:65: error: template argument 1 is invalid return CopyEnumKeysTo<DictionaryEntryType::kCells>(storage); ^ .././src/objects.h:3750:65: error: return-statement with a value, in function returning 'void' [-fpermissive] .././src/objects.h:3752:14: error: parse error in template argument list return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3752:67: error: no matching function for call to 'v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*&)' return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3747:8: note: candidate: template<v8::internal::DictionaryEntryType type> void v8::internal::NameDictionary::CopyEnumKeysTo(v8::internal::FixedArray*) void CopyEnumKeysTo(FixedArray* storage); ^ .././src/objects.h:3747:8: note: template argument deduction/substitution failed: .././src/objects.h:3752:67: error: template argument 1 is invalid return CopyEnumKeysTo<DictionaryEntryType::kObjects>(storage); ^ .././src/objects.h:3752:67: error: return-statement with a value, in function returning 'void' [-fpermissive] In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/heap/spaces.h: In member function 'void v8::internal::MemoryChunk::set_reserved_memory(v8::base::VirtualMemory*)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/heap/spaces.h:329:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(reservation); ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/heap/spaces.h: In member function 'void v8::internal::MemoryChunk::set_reserved_memory(v8::base::VirtualMemory*)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/heap/spaces.h:329:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(reservation); ^ .././src/heap/mark-compact.h: In member function 'void v8::internal::SlotsBuffer::Add(v8::internal::SlotsBuffer::ObjectSlot)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/heap/mark-compact.h:274:7: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(*slot); ^ .././src/heap/mark-compact.h: In member function 'void v8::internal::SlotsBuffer::Add(v8::internal::SlotsBuffer::ObjectSlot)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/heap/mark-compact.h:274:7: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(*slot); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/scanner.h: At global scope: .././src/scanner.h:557:16: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 void Advance() { ^ In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_literal_contextual_keyword(v8::internal::Vector<const char>)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:392:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_next_contextual_keyword(v8::internal::Vector<const char>)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:396:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/scanner.h: In member function 'void v8::internal::Scanner::Init()': .././src/scanner.h:506:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:506:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/scanner.h: In member function 'void v8::internal::Scanner::AddLiteralChar(v8::internal::uc32)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:529:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'void v8::internal::Scanner::AddRawLiteralChar(v8::internal::uc32)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:534:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.raw_literal_chars); ^ .././src/scanner.h: In member function 'void v8::internal::Scanner::ReduceRawLiteralLength(int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:539:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.raw_literal_chars); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/scanner.h: In member function 'void v8::internal::Scanner::AddLiteralCharAdvance()': .././src/scanner.h:552:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:552:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h: In member function 'v8::internal::Token::Value v8::internal::Scanner::Select(v8::internal::Token::Value)': .././src/scanner.h:587:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:587:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h: In member function 'v8::internal::Token::Value v8::internal::Scanner::Select(v8::internal::uc32, v8::internal::Token::Value, v8::internal::Token::Value)': .././src/scanner.h:592:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:592:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h:594:15: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:594:15: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:609:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:613:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:617:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'int v8::internal::Scanner::literal_length() const': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:621:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::next_literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:627:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::next_literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:631:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_next_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:635:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::raw_literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:639:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::raw_literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:643:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_raw_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:647:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/scanner.h: At global scope: .././src/scanner.h:557:16: error: default template arguments may not be used in function templates without -std=c++11 or -std=gnu++11 void Advance() { ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_literal_contextual_keyword(v8::internal::Vector<const char>)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:392:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_next_contextual_keyword(v8::internal::Vector<const char>)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:396:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/scanner.h: In member function 'void v8::internal::Scanner::Init()': .././src/scanner.h:506:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:506:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/scanner.h: In member function 'void v8::internal::Scanner::AddLiteralChar(v8::internal::uc32)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:529:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'void v8::internal::Scanner::AddRawLiteralChar(v8::internal::uc32)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:534:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.raw_literal_chars); ^ .././src/scanner.h: In member function 'void v8::internal::Scanner::ReduceRawLiteralLength(int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:539:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.raw_literal_chars); ^ In file included from .././src/conversions-inl.h:21:0, from .././src/objects-inl.h:18, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/scanner.h: In member function 'void v8::internal::Scanner::AddLiteralCharAdvance()': .././src/scanner.h:552:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:552:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h: In member function 'v8::internal::Token::Value v8::internal::Scanner::Select(v8::internal::Token::Value)': .././src/scanner.h:587:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:587:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h: In member function 'v8::internal::Token::Value v8::internal::Scanner::Select(v8::internal::uc32, v8::internal::Token::Value, v8::internal::Token::Value)': .././src/scanner.h:592:13: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:592:13: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ .././src/scanner.h:594:15: error: no matching function for call to 'v8::internal::Scanner::Advance()' Advance(); ^ .././src/scanner.h:557:8: note: candidate: template<bool capture_raw, bool check_surrogate> void v8::internal::Scanner::Advance() void Advance() { ^ .././src/scanner.h:557:8: note: template argument deduction/substitution failed: .././src/scanner.h:594:15: note: couldn't deduce template parameter 'capture_raw' Advance(); ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:609:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:613:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:617:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'int v8::internal::Scanner::literal_length() const': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:621:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::next_literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:627:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::next_literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:631:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_next_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:635:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(next_.literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const unsigned char> v8::internal::Scanner::raw_literal_one_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:639:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ .././src/scanner.h: In member function 'v8::internal::Vector<const short unsigned int> v8::internal::Scanner::raw_literal_two_byte_string()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:643:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ .././src/scanner.h: In member function 'bool v8::internal::Scanner::is_raw_literal_one_byte()': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/scanner.h:647:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(current_.raw_literal_chars); ^ In file included from .././src/objects-inl.h:30:0, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/lookup.h: At global scope: .././src/lookup.h:149:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class InterceptorState { ^ .././src/lookup.h:195:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class ExoticIndexState { kUninitialized, kNoIndex, kIndex }; ^ .././src/lookup.h: In constructor 'v8::internal::LookupIterator::LookupIterator(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::LookupIterator::Configuration)': .././src/lookup.h:50:29: error: 'ExoticIndexState' is not a class or namespace exotic_index_state_(ExoticIndexState::kUninitialized), ^ .././src/lookup.h:51:28: error: 'InterceptorState' is not a class or namespace interceptor_state_(InterceptorState::kUninitialized), ^ .././src/lookup.h: In constructor 'v8::internal::LookupIterator::LookupIterator(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::LookupIterator::Configuration)': .././src/lookup.h:68:29: error: 'ExoticIndexState' is not a class or namespace exotic_index_state_(ExoticIndexState::kUninitialized), ^ .././src/lookup.h:69:28: error: 'InterceptorState' is not a class or namespace interceptor_state_(InterceptorState::kUninitialized), ^ In file included from .././src/objects-inl.h:30:0, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/lookup.h: At global scope: .././src/lookup.h:149:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class InterceptorState { ^ .././src/lookup.h:195:3: warning: scoped enums only available with -std=c++11 or -std=gnu++11 enum class ExoticIndexState { kUninitialized, kNoIndex, kIndex }; ^ .././src/lookup.h: In constructor 'v8::internal::LookupIterator::LookupIterator(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::LookupIterator::Configuration)': .././src/lookup.h:50:29: error: 'ExoticIndexState' is not a class or namespace exotic_index_state_(ExoticIndexState::kUninitialized), ^ .././src/lookup.h:51:28: error: 'InterceptorState' is not a class or namespace interceptor_state_(InterceptorState::kUninitialized), ^ .././src/lookup.h: In constructor 'v8::internal::LookupIterator::LookupIterator(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Name>, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::LookupIterator::Configuration)': .././src/lookup.h:68:29: error: 'ExoticIndexState' is not a class or namespace exotic_index_state_(ExoticIndexState::kUninitialized), ^ .././src/lookup.h:69:28: error: 'InterceptorState' is not a class or namespace interceptor_state_(InterceptorState::kUninitialized), ^ In file included from .././src/type-feedback-vector.h:15:0, from .././src/type-feedback-vector-inl.h:8, from .././src/objects-inl.h:35, from .././src/v8.h:39, from ../src/allocation.cc:12: .././src/zone-containers.h: At global scope: .././src/zone-containers.h:24:58: error: '>>' should be '> >' within a nested template argument list class ZoneVector : public std::vector<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(v8::internal::Zone*)': .././src/zone-containers.h:28:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(size_t, v8::internal::Zone*)': .././src/zone-containers.h:33:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(size, T(), zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(size_t, T, v8::internal::Zone*)': .././src/zone-containers.h:38:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(size, def, zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:45:56: error: '>>' should be '> >' within a nested template argument list class ZoneDeque : public std::deque<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneDeque<T>::ZoneDeque(v8::internal::Zone*)': .././src/zone-containers.h:49:39: error: '>>' should be '> >' within a nested template argument list : std::deque<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:58:60: error: '>>' should be '> >' within a nested template argument list class ZoneLinkedList : public std::list<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneLinkedList<T>::ZoneLinkedList(v8::internal::Zone*)': .././src/zone-containers.h:62:38: error: '>>' should be '> >' within a nested template argument list : std::list<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:69:51: error: '>>' should be '> >' within a nested template argument list class ZoneQueue : public std::queue<T, ZoneDeque<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneQueue<T>::ZoneQueue(v8::internal::Zone*)': .././src/zone-containers.h:73:34: error: '>>' should be '> >' within a nested template argument list : std::queue<T, ZoneDeque<T>>(ZoneDeque<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:80:51: error: '>>' should be '> >' within a nested template argument list class ZoneStack : public std::stack<T, ZoneDeque<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneStack<T>::ZoneStack(v8::internal::Zone*)': .././src/zone-containers.h:84:34: error: '>>' should be '> >' within a nested template argument list : std::stack<T, ZoneDeque<T>>(ZoneDeque<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:90:53: error: spurious '>>', use '>' to terminate a template argument list template <typename K, typename Compare = std::less<K>> ^ .././src/zone-containers.h:91:61: error: '>>' should be '> >' within a nested template argument list class ZoneSet : public std::set<K, Compare, zone_allocator<K>> { ^ .././src/zone-containers.h:91:61: error: type/value mismatch at argument 2 in template parameter list for 'template<class _Key, class _Compare, class _Alloc> class std::set' .././src/zone-containers.h:91:61: note: expected a type, got 'v8::internal::Compare' .././src/zone-containers.h:91:64: error: definition of 'class v8::internal::ZoneSet' inside template parameter list class ZoneSet : public std::set<K, Compare, zone_allocator<K>> { ^ .././src/zone-containers.h:97:1: error: two or more data types in declaration of 'type name' }; ^ .././src/zone-containers.h:97:2: error: expected '>' before ';' token }; ^ .././src/zone-containers.h:97:2: error: expected unqualified-id before ';' token .././src/zone-containers.h:102:65: error: spurious '>>', use '>' to terminate a template argument list template <typename K, typename V, typename Compare = std::less<K>> ^ .././src/zone-containers.h:104:67: error: '>>' should be '> >' within a nested template argument list : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:104:69: error: type/value mismatch at argument 3 in template parameter list for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map' : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:104:69: note: expected a type, got 'v8::internal::Compare' .././src/zone-containers.h:104:71: error: definition of 'class v8::internal::ZoneMap' inside template parameter list : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:110:1: error: two or more data types in declaration of 'type name' }; ^ .././src/zone-containers.h:110:2: error: expected '>' before ';' token }; ^ .././src/zone-containers.h:110:2: error: expected unqualified-id before ';' token In file included from .././src/type-feedback-vector.h:15:0, from .././src/type-feedback-vector-inl.h:8, from .././src/objects-inl.h:35, from .././src/v8.h:39, from ../src/accessors.cc:5: .././src/zone-containers.h: At global scope: .././src/zone-containers.h:24:58: error: '>>' should be '> >' within a nested template argument list class ZoneVector : public std::vector<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(v8::internal::Zone*)': .././src/zone-containers.h:28:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(size_t, v8::internal::Zone*)': .././src/zone-containers.h:33:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(size, T(), zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneVector<T>::ZoneVector(size_t, T, v8::internal::Zone*)': .././src/zone-containers.h:38:40: error: '>>' should be '> >' within a nested template argument list : std::vector<T, zone_allocator<T>>(size, def, zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:45:56: error: '>>' should be '> >' within a nested template argument list class ZoneDeque : public std::deque<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneDeque<T>::ZoneDeque(v8::internal::Zone*)': .././src/zone-containers.h:49:39: error: '>>' should be '> >' within a nested template argument list : std::deque<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:58:60: error: '>>' should be '> >' within a nested template argument list class ZoneLinkedList : public std::list<T, zone_allocator<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneLinkedList<T>::ZoneLinkedList(v8::internal::Zone*)': .././src/zone-containers.h:62:38: error: '>>' should be '> >' within a nested template argument list : std::list<T, zone_allocator<T>>(zone_allocator<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:69:51: error: '>>' should be '> >' within a nested template argument list class ZoneQueue : public std::queue<T, ZoneDeque<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneQueue<T>::ZoneQueue(v8::internal::Zone*)': .././src/zone-containers.h:73:34: error: '>>' should be '> >' within a nested template argument list : std::queue<T, ZoneDeque<T>>(ZoneDeque<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:80:51: error: '>>' should be '> >' within a nested template argument list class ZoneStack : public std::stack<T, ZoneDeque<T>> { ^ .././src/zone-containers.h: In constructor 'v8::internal::ZoneStack<T>::ZoneStack(v8::internal::Zone*)': .././src/zone-containers.h:84:34: error: '>>' should be '> >' within a nested template argument list : std::stack<T, ZoneDeque<T>>(ZoneDeque<T>(zone)) {} ^ .././src/zone-containers.h: At global scope: .././src/zone-containers.h:90:53: error: spurious '>>', use '>' to terminate a template argument list template <typename K, typename Compare = std::less<K>> ^ .././src/zone-containers.h:91:61: error: '>>' should be '> >' within a nested template argument list class ZoneSet : public std::set<K, Compare, zone_allocator<K>> { ^ .././src/zone-containers.h:91:61: error: type/value mismatch at argument 2 in template parameter list for 'template<class _Key, class _Compare, class _Alloc> class std::set' .././src/zone-containers.h:91:61: note: expected a type, got 'v8::internal::Compare' .././src/zone-containers.h:91:64: error: definition of 'class v8::internal::ZoneSet' inside template parameter list class ZoneSet : public std::set<K, Compare, zone_allocator<K>> { ^ .././src/zone-containers.h:97:1: error: two or more data types in declaration of 'type name' }; ^ .././src/zone-containers.h:97:2: error: expected '>' before ';' token }; ^ .././src/zone-containers.h:97:2: error: expected unqualified-id before ';' token .././src/zone-containers.h:102:65: error: spurious '>>', use '>' to terminate a template argument list template <typename K, typename V, typename Compare = std::less<K>> ^ .././src/zone-containers.h:104:67: error: '>>' should be '> >' within a nested template argument list : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:104:69: error: type/value mismatch at argument 3 in template parameter list for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map' : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:104:69: note: expected a type, got 'v8::internal::Compare' .././src/zone-containers.h:104:71: error: definition of 'class v8::internal::ZoneMap' inside template parameter list : public std::map<K, V, Compare, zone_allocator<std::pair<K, V>>> { ^ .././src/zone-containers.h:110:1: error: two or more data types in declaration of 'type name' }; ^ .././src/zone-containers.h:110:2: error: expected '>' before ';' token }; ^ .././src/zone-containers.h:110:2: error: expected unqualified-id before ';' token In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/objects-inl.h: In function 'int v8::internal::LinearSearch(T*, v8::internal::Name*, int, int, int*)': .././src/base/logging.h:137:40: error: 'nullptr' was not declared in this scope #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:137:25: note: in expansion of macro 'CHECK' #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././src/base/logging.h:159:32: note: in expansion of macro 'CHECK_NULL' #define DCHECK_NULL(val) CHECK_NULL(val) ^ .././src/objects-inl.h:2982:5: note: in expansion of macro 'DCHECK_NULL' DCHECK_NULL(out_insertion_index); // Not supported here. ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/objects-inl.h: In function 'int v8::internal::LinearSearch(T*, v8::internal::Name*, int, int, int*)': .././src/base/logging.h:137:40: error: 'nullptr' was not declared in this scope #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:137:25: note: in expansion of macro 'CHECK' #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././src/base/logging.h:159:32: note: in expansion of macro 'CHECK_NULL' #define DCHECK_NULL(val) CHECK_NULL(val) ^ .././src/objects-inl.h:2982:5: note: in expansion of macro 'DCHECK_NULL' DCHECK_NULL(out_insertion_index); // Not supported here. ^ .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::StringHasher::ComputeRunningHash(uint32_t, const uc16*, int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/objects-inl.h:6702:3: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(chars); ^ .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::StringHasher::ComputeRunningHashOneByte(uint32_t, const char*, int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/objects-inl.h:6714:3: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(chars); ^ In file included from .././src/v8.h:39:0, from ../src/accessors.cc:5: .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::IteratingStringHasher::Hash(v8::internal::String*, uint32_t)': .././src/objects-inl.h:6789:22: error: 'nullptr' was not declared in this scope if (cons_string == nullptr) return hasher.GetHashField(); ^ .././src/objects-inl.h: In member function 'void v8::internal::ExecutableAccessorInfo::clear_setter()': .././src/objects-inl.h:6990:8: error: 'foreign' does not name a type auto foreign = GetIsolate()->factory()->NewForeign( ^ .././src/objects-inl.h:6993:15: error: 'foreign' was not declared in this scope set_setter(*foreign); ^ .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::StringHasher::ComputeRunningHash(uint32_t, const uc16*, int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/objects-inl.h:6702:3: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(chars); ^ .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::StringHasher::ComputeRunningHashOneByte(uint32_t, const char*, int)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/objects-inl.h:6714:3: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(chars); ^ In file included from .././src/v8.h:39:0, from ../src/allocation.cc:12: .././src/objects-inl.h: In static member function 'static uint32_t v8::internal::IteratingStringHasher::Hash(v8::internal::String*, uint32_t)': .././src/objects-inl.h:6789:22: error: 'nullptr' was not declared in this scope if (cons_string == nullptr) return hasher.GetHashField(); ^ .././src/objects-inl.h: In member function 'void v8::internal::ExecutableAccessorInfo::clear_setter()': .././src/objects-inl.h:6990:8: error: 'foreign' does not name a type auto foreign = GetIsolate()->factory()->NewForeign( ^ .././src/objects-inl.h:6993:15: error: 'foreign' was not declared in this scope set_setter(*foreign); ^ In file included from .././include/v8.h:23:0, from .././src/v8.h:29, from ../src/accessors.cc:5: .././src/v8.h: In static member function 'static void v8::internal::V8::SetArrayBufferAllocator(v8::ArrayBuffer::Allocator*)': .././src/base/logging.h:137:40: error: 'nullptr' was not declared in this scope #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:137:25: note: in expansion of macro 'CHECK' #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././src/v8.h:77:5: note: in expansion of macro 'CHECK_NULL' CHECK_NULL(array_buffer_allocator_); ^ .././src/jsregexp.h: In constructor 'v8::internal::CharacterRange::CharacterRange(void*)': .././src/base/logging.h:137:40: error: 'nullptr' was not declared in this scope #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:137:25: note: in expansion of macro 'CHECK' #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././src/base/logging.h:159:32: note: in expansion of macro 'CHECK_NULL' #define DCHECK_NULL(val) CHECK_NULL(val) ^ .././src/jsregexp.h:242:32: note: in expansion of macro 'DCHECK_NULL' CharacterRange(void* null) { DCHECK_NULL(null); } // NOLINT ^ In file included from .././src/base/build_config.h:8:0, from .././src/globals.h:11, from .././src/allocation.h:8, from ../src/allocation.cc:5: .././src/v8.h: In static member function 'static void v8::internal::V8::SetArrayBufferAllocator(v8::ArrayBuffer::Allocator*)': .././src/base/logging.h:137:40: error: 'nullptr' was not declared in this scope #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:137:25: note: in expansion of macro 'CHECK' #define CHECK_NULL(val) CHECK((val) == nullptr) ^ .././src/v8.h:77:5: note: in expansion of macro 'CHECK_NULL' CHECK_NULL(array_buffer_allocator_); ^ .././src/ast.h: In member function 'void v8::internal::VariableProxy::set_var(v8::internal::Variable*)': .././src/base/logging.h:138:44: error: 'nullptr' was not declared in this scope #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././include/v8config.h:348:54: note: in definition of macro 'V8_UNLIKELY' # define V8_UNLIKELY(condition) (__builtin_expect(!!(condition), 0)) ^ .././src/base/logging.h:138:29: note: in expansion of macro 'CHECK' #define CHECK_NOT_NULL(val) CHECK((val) != nullptr) ^ .././src/base/logging.h:160:32: note: in expansion of macro 'CHECK_NOT_NULL' #define DCHECK_NOT_NULL(val) CHECK_NOT_NULL(val) ^ .././src/ast.h:1657:5: note: in expansion of macro 'DCHECK_NOT_NULL' DCHECK_NOT_NULL(v); ^ In file included from .././src/x64/assembler-x64.h:43:0, from .././src/macro-assembler.h:48, from .././src/deoptimizer.h:11, from ../src/accessors.cc:10: .././src/compiler.h: In member function 'bool v8::internal::CompilationInfo::has_scope() const': .././src/compiler.h:166:46: error: 'nullptr' was not declared in this scope bool has_scope() const { return scope() != nullptr; } ^ In file included from .././src/x64/assembler-x64-inl.h:11:0, from .././src/macro-assembler.h:49, from .././src/deoptimizer.h:11, from ../src/accessors.cc:10: .././src/debug.h: At global scope: .././src/debug.h:527:13: error: 'PhantomCallbackData' does not name a type const PhantomCallbackData<DebugInfoListNode>& data); ^ .././src/debug.h:527:32: error: expected ',' or '...' before '<' token const PhantomCallbackData<DebugInfoListNode>& data); ^ tools/gyp/v8_base.target.mk:388: recipe for target '/C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/allocation.o' failed make: *** [/C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/allocation.o] Error 1 make: *** Waiting for unfinished jobs.... tools/gyp/v8_base.target.mk:388: recipe for target '/C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/accessors.o' failed make: *** [/C/Builds/MINGW-packages/mingw-w64-v8/src/build-x86_64-w64-mingw32/obj.target/v8_base/src/accessors.o] Error 1 make: Leaving directory '/C/Builds/MINGW-packages/mingw-w64-v8/src/v8-4.3.66/out' ==> ERROR: A failure occurred in build(). Aborting...