Warnings compiling tcmalloc and gperftools with clang

XMLWordPrintableJSON

    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: