|
Compiling MongoDB with a recent versions of V8 (like 3.19.18.4, but some earlier versions, as well) fails to compile:
/usr/include/v8.h: In member function 'v8::Persistent<v8::Context> mongo::V8Scope::getContext()':
/usr/include/v8.h:750:3: error: 'v8::Persistent<T>::Persistent(const v8::Persistent<T>&) [with T = v8::Context; v8::Persistent<T> = v8::Persistent<v8::Context>]' is private
In file included from src/mongo/scripting/engine_v8.cpp:18:0:
src/mongo/scripting/engine_v8.h:287:59: error: within this context
In file included from src/mongo/scripting/engine_v8.h:20:0,
from src/mongo/scripting/engine_v8.cpp:18:
|