News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Gcov

Started by SvckG, July 09, 2015, 04:14:02 AM

Previous topic - Next topic

SvckG

Hi everyone,
I am new to Code::Blocks. I am writing an API in C++ (OS : Windows 7). When I build my program in CB, it runs smoothly. However, when I am invoking gcov from cmd using the following command:
C:\Users\XXX\Documents\Test\TreeObjModel\src>gcc -fprofile-arcs -ftest-coverage Tree.cpp -I../include<library files>
it gives quite a large number of errors.

I am not sure if I am doing this right or missing some trick.

Can anyone suggest what is going wrong? Thanks in advance

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]