pkgsrc-wip/gnocchi/patches/patch-ac
Marko Schütz Schmuck a0c82fa65c Import gnocchi-0.35 as wip/gnocchi.
Gnocchi calculates complexity on a per function basis. Instead of
trying to parse C++ code Gnocchi reads the coverage information
produced by GCC. If code is compiled with -fprofile-arcs or
-ftest-coverage (depending on compiler version) GCC creates a .gcno
file for every object file. Please refer to you GCC manual for
details.
 
Gnocchi calculates cyclomatic and the NPATH complexity measures.
2009-02-18 19:49:36 +00:00

13 lines
444 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2009/02/18 19:49:36 marko_schuetz Exp $
--- gcov_reader.cpp.orig 2007-06-25 06:40:06.000000000 -0400
+++ gcov_reader.cpp
@@ -290,6 +290,8 @@ void gcov_reader::open(const boost::file
GCOV_UNSIGNED2STRING (e, GCOV_VERSION);
printf ("%s:warning:current version is `%.4s'\n", filename, e);
+ GCOV_UNSIGNED2STRING (e, version);
+ printf ("%s: :files version is `%.4s'\n", filename, e);
}
}