gperftools not compatible with gcc11

49 views
Skip to first unread message

YZ Xie

unread,
May 26, 2022, 11:58:47 PM5/26/22
to gperftools
compiled gperftools with gcc11 ,

src/heap-checker.cc:1171:35: error: invalid 'static_cast' from type 'std::nullptr_t' to type 'uintptr_t' {aka 'long unsigned int'}

version:2.9.1
can developer sovle this problem?

Aliaksey Kandratsenka

unread,
May 30, 2022, 11:00:38 PM5/30/22
to YZ Xie, gperftools
This appears to happen with musl (or at least alpine). Fixed now. gcc 11 or 12 on regular gnu/linux systems worked fine.

--
You received this message because you are subscribed to the Google Groups "gperftools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gperftools+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gperftools/c2db68a5-379f-4ccd-8ac5-afbcd1194518n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages