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

Warnings compiling tcmalloc and gperftools with clang

      src/third_party/gperftools-2.0/src/stack_trace_table.cc:138:16: warning: expression which evaluates to zero treated
      as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
      out[idx++] = static_cast<uintptr_t>(0);

      src/third_party/gperftools-2.0/src/gperftools/tcmalloc.h:96:38: warning: 'tc_mallinfo' has C-linkage specified, but
      returns incomplete type 'struct mallinfo' which could be incompatible with C [-Wreturn-type-c-linkage]
      PERFTOOLS_DLL_DECL struct mallinfo tc_mallinfo(void) __THROW;

            Assignee:
            alex.neben@mongodb.com Alex Neben
            Reporter:
            tyler@10gen.com Tyler Brock
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: