[SERVER-11838] Warnings compiling tcmalloc and gperftools with clang Created: 23/Nov/13  Updated: 01/Jun/22  Resolved: 01/Jun/22

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.5.4
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Tyler Brock Assignee: Alex Neben
Resolution: Done Votes: 0
Labels: build-later, build-needs-definition
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

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;


Generated at Thu Feb 08 03:26:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.