自己搭环境每次都遇到,记录一个。
原文地址: http://code.google.com/p/gperftools/issues/detail?id=444
错误显示:
third_party/tcmalloc/chromium/src/base/linuxthreads.cc: In function ‘void ListerThread(ListerParams*)’:
third_party/tcmalloc/chromium/src/base/linuxthreads.cc:312:24: error: invalid conversion from ‘void (*)(int, siginfo_t*, void*)’ to ‘void (*)(int, siginfo*, void*)’ [-fpermissive]
解决办法:
修改linuxthreads.cc
static void SignalHandler(int signum, siginfo_t *si, void *data) {
to
static void SignalHandler(int signum, siginfo *si, void *data) {