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

Clang 3.5 reports: "warning: 'this' pointer cannot be null in well-defined C++ code" in V8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Gone away
    • Affects Version/s: 2.7.6
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Environment:
      Linux (Clang 3.5)
    • Operating System:
      ALL
    • Epic Link:
    • Sprint:
      Platform 8 08/28/15

      Description

      Found in both versions of V8 in various places:

      This ticket is to track the error in the third party code, there is a similar ticket (SERVER-15182) to track it in our code:

      src/third_party/v8-3.25/src/spaces.h:961:9: warning: 'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to false [-Wtautological-undefined-compare]
          if (this == NULL || code_range_ == NULL) return false;
              ^~~~    ~~~~
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: