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

Warnings for 'js::jit::TempObject::operator new' while compiling mozjs on Windows

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.2.0-rc0
    • Affects Version/s: None
    • Component/s: Build, JavaScript
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Platform A (10/09/15), Platform B (10/30/15)

      This warning completely pollutes the logs of the Windows build:

      e:\workspace\mongo\src\third_party\mozjs-38\extract\js\src\jit/MIR.h(10635) :
      warning C4291: 'void *js::jit::TempObject::operator new(size_t,js::jit::TempAllocator &)' : no matching operator delete found; memory will not be freed if initialization throws an exception
      

      If possible, we should fix it, or at least disable it.

            Assignee:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: