JacquesLucke / gcov-viewer

Show code coverage data generated with gcov in Visual Studio code.
MIT License
31 stars 8 forks source link

Error invoking gcov #30

Open sarveshsingasane opened 2 months ago

sarveshsingasane commented 2 months ago

Error invoking gcov: /home/ssingasa/app/src/helloworld.c.gcno:version 'B23', prefer 'B14'

gcc --version gcc (GCC) 12.3.0 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

JacquesLucke commented 2 months ago

My initial guess is that you've got a new version of gcc and/or gcov recently. Have you tried a clean build?

sarveshsingasane commented 2 months ago

Yes, I tried clean build

JacquesLucke commented 2 months ago

Not sure if this applies to you, but in the past I had problems with doing clean builds when I use ccache. It might not realize that there is a new version. If you're using ccache or something similar, can you clear its cache?