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 16:59
Mathew Benson is currently offline Mathew Benson
Messages: 2
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: Tue Jul 22 19:49:28 EDT 2014

Powered by FUDForum. Page generated in 0.14076 seconds