This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
RE: limitations with gcov and STL
- To: 'Michelle Lorenz' <lorenzm at dialogic dot com>, libstdc++ at gcc dot gnu dot org
- Subject: RE: limitations with gcov and STL
- From: Greg Bumgardner <bumgard at roguewave dot com>
- Date: Tue, 3 Apr 2001 11:28:32 -0700
- Cc: mlorenz at ihug dot co dot nz
I haven't been able to get gcov to work for months. It worked fine in 2.95,
but no longer seems to work. I think I filed a bug-report a few months ago..
-g.b.
> -----Original Message-----
> From: Michelle Lorenz [mailto:lorenzm@dialogic.com]
> Sent: Monday, April 02, 2001 3:37 PM
> To: libstdc++@gcc.gnu.org
> Cc: mlorenz@ihug.co.nz
> Subject: limitations with gcov and STL
>
>
> 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
>