Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: SvckG on July 09, 2015, 04:14:02 am

Title: Gcov
Post by: SvckG on July 09, 2015, 04:14:02 am
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:
Code
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
Title: Re: Gcov
Post by: stahta01 on July 09, 2015, 05:56:58 am
I suggest read this site rule and the CB FAQs.
http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)