Skip to content

Conversation

@hendrikmuhs
Copy link

gcc 8 extended the output of gcov, some of the issue have been fixed, e.g. #127, #140
However the new reporting for "instances" is missing. As a result cpp-coveralls reports:

  • more lines than the file has
  • counters are getting misaligned as the lines counter is unchecked

The fix is quite simple: ignore lines that are smaller than the size of the array. This works because gcov reports the total number of executions in the 1st occurrences, the instance reports than report the individual counts which sum up to the total count. For now coveralls does not support template variants, therefore we can just skip over it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant