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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Gone away
    • 2.7.6
    • None
    • JavaScript
    • None
    • Linux (Clang 3.5)
    • ALL
    • 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

            andrew.morrow@mongodb.com Andrew Morrow
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: