~/common/lib/libglog.a(libglog_la-utilities.o): In function `google::LogMessageVoidify::LogMessageVoidify()':
~/glog/glog-0.3.2/src/utilities.cc:80: multiple definition of `FLAG__namespace_do_not_use_directly_use_DECLARE_bool_instead::FLAGS_symbolize_stacktrace'
~/common/lib/libtcmalloc.a(libtcmalloc_minimal_debug_la-debugallocation.o):~/tcmalloc/optimized/gperftools-r218/src/libc_override_glibc.h:100: first defined here
在为项目代码执行代码覆盖时出现上述错误。没有代码覆盖它的编译,但没有代码覆盖。使用的代码覆盖率库为-lgcov
。