limitations with gcov and STL

Michelle Lorenz lorenzm@dialogic.com
Tue Apr 3 00:36:00 GMT 2001


Hi,

I have been trying unsuccessfully to use gcov with the STL:

#include <iostream>
#include <vector.h>

void main()
{
   vector<int> string_list;
}

>g++ -ftest-coverage -fprofile-arcs file.cxx -o file_cov
>./file_cov
>gcov file
>Aborted (core dumped)

Does anybody know whether this is a bug with gcov and/or how to fix it?
Thanks :-)

--
2b
Michelle Lorenz
mlorenz@ihug.co.nz



More information about the Libstdc++ mailing list