Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12333

mongodb-2.4.5 does not compile with v8-3.19.18.4

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build, JavaScript
    • Labels:
      None
    • Environment:
      Gentoo Linux "bleeding edge"
    • Linux

      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:

            Assignee:
            Unassigned Unassigned
            Reporter:
            hjarausch Helmut Jarausch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: