You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I was trying to use the gcov view Show command exactly as in the following video: https://www.youtube.com/watch?v=g3yJhl5q5_g. However, every time I run the gcov viewer command I get the following error
"The gcov version is not compatible. Please use at least version 9."
However, when I run gcc --version in terminal it says
"Apple clang version 16.0.0 (clang-1600.0.26.6)"
and similarly when running gcov --version and g++ --version terminal also outputs version 16.0.0 which is well above version 9.
Is there something I am missing here or is the error indicating something else. Thanks!
The text was updated successfully, but these errors were encountered:
What's a bit confusing is that your gcc --version outputs something related to clang. Sounds like you are not using gcc after all. Note that the coverage format generated by clang is not compatible with this extension currently, at least it was not last time I tried.
That makes sense. I brew installed gcc so now I compiled with gcc-14. For reference this is the output I get when I do gcc-14 --version
"gcc-14 (Homebrew GCC 14.2.0_1) 14.2.0"
(It does say Homebrew GCC but I am not sure if that makes a difference)
However, I am still getting the same error message as before. I tried setting alias gcov=gcov-14 in ~/.zshenv so that any usage of gcov would go to the homebrew gcc version instead of clang or LLVM but it seems to still be erroring in the same way.
Hi! I was trying to use the gcov view Show command exactly as in the following video: https://www.youtube.com/watch?v=g3yJhl5q5_g. However, every time I run the gcov viewer command I get the following error
"The gcov version is not compatible. Please use at least version 9."
However, when I run
gcc --version
in terminal it says"Apple clang version 16.0.0 (clang-1600.0.26.6)"
and similarly when running
gcov --version
andg++ --version
terminal also outputs version 16.0.0 which is well above version 9.Is there something I am missing here or is the error indicating something else. Thanks!
The text was updated successfully, but these errors were encountered: