configuring code coverage with cmake

后端 未结 1 1958
粉色の甜心
粉色の甜心 2021-01-03 05:59

I\'m on a linux machine, trying to build a project using cmake that does out of source builds. For code coverage, I looked into gcov and followed a simple tutorial that gene

1条回答
  •  离开以前
    2021-01-03 06:26

    A mismatch in gcov and gcc version was making this happen. gcc symlink /usr/bin/gcc was set to newest gcc, same for g++ but gcov in $PATH was still pointing to older version of gcov.

    0 讨论(0)
提交回复
热议问题