Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » gcov fails to annotate when using static libs
gcov fails to annotate when using static libs [message #987752] Tue, 27 November 2012 21:59
Mathew Benson is currently offline Mathew BensonFriend
Messages: 12
Registered: July 2010
Junior Member
I'm using CUTE to test a static library I wrote in C. CUTE works and gcov appears to be working, but the editor marks everything as uncovered. I did some simple debugging and the found that it marks everything as uncovered when I link in anything from the library. When I use stub code internal to my unit test project, everything is annotated correctly.

I can still view the coverage with the gcov editor. Its really annoying constantly seeing my code marked in red. What can I do to make it annotate the files correctly? Can I at least disable the annotation?
Previous Topic:getting started
Next Topic:Eclipse cannot find my libraries
Goto Forum:

Current Time: Mon Apr 23 00:25:35 GMT 2018

Powered by FUDForum. Page generated in 0.01323 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software