summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cppcheck')
-rw-r--r--dev-util/cppcheck/ChangeLog8
-rw-r--r--dev-util/cppcheck/Manifest14
-rw-r--r--dev-util/cppcheck/cppcheck-1.30.ebuild30
-rw-r--r--dev-util/cppcheck/files/cppcheck-1.30-build.patch217
4 files changed, 261 insertions, 8 deletions
diff --git a/dev-util/cppcheck/ChangeLog b/dev-util/cppcheck/ChangeLog
index ed8626b7d1b1..f303cc9508f8 100644
--- a/dev-util/cppcheck/ChangeLog
+++ b/dev-util/cppcheck/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/cppcheck
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.1 2009/03/06 20:13:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/ChangeLog,v 1.2 2009/03/08 19:13:07 vapier Exp $
+
+*cppcheck-1.30 (08 Mar 2009)
+
+ 08 Mar 2009; Mike Frysinger <vapier@gentoo.org>
+ +files/cppcheck-1.30-build.patch, +cppcheck-1.30.ebuild:
+ Version bump.
*cppcheck-1.29 (06 Mar 2009)
diff --git a/dev-util/cppcheck/Manifest b/dev-util/cppcheck/Manifest
index 1f3df2324b0a..c4d7789b817f 100644
--- a/dev-util/cppcheck/Manifest
+++ b/dev-util/cppcheck/Manifest
@@ -1,15 +1,15 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX cppcheck-1.29-build.patch 258 RMD160 1a88fd3139d4d2329f0ac4f5065658dd429f3a11 SHA1 0a62e4a370f8a2fb0696653498abf7d2e0291824 SHA256 880e2f3de23f3a7436acb1d72887fb44a2ff7adcc9d4c8c37eec60d84533e4ac
-DIST cppcheck-1.29.tar.bz2 93457 RMD160 3e69ded99e992afc009f154cad4b8f3d4d84f619 SHA1 b5ad38184d749673383b97dec0e3744961f97502 SHA256 4f52d42ebb0c09e2536b4b931d6e205664f10a703f8d815f681c25e27b65e329
-EBUILD cppcheck-1.29.ebuild 703 RMD160 4241a9863ba4b316b0006c28baa44169c7f3c201 SHA1 597301838b1a6b35af92253efcddfccb0dab802d SHA256 bb8e6f01abd457b32ca4c0602eea054e28b7ccd0ee2d17ae7dd629c261cdf11a
-MISC ChangeLog 379 RMD160 e65ac5d061d63219270f49bf9bdaa18acb90258a SHA1 afb833bb2fe613b511d5cd0bb735cc5b6eb53c2e SHA256 705d055d8c39e28fbc4cba32ecc995d23f2d740b3e57486510c5c786550a6c5b
+AUX cppcheck-1.30-build.patch 13306 RMD160 7185107cfb08e8fa67d7a9d42c3843730467134d SHA1 e031e9c8a5ec05b1dd7ba6ca9946527c634df481 SHA256 378d2da7548f74f4e4d24689dcd22d5e8022138868fc3da874e29afd861ff3f3
+DIST cppcheck-1.30.tar.bz2 100524 RMD160 4aedfd0e61e2ecec9937b482530f20b44a456964 SHA1 755ffeb9a082d27baf46ca35483a81c6d1dc1e1c SHA256 86cd2bd3b96a600fe87016f7c8bcf30d239d02f0f5b4efd40025c87665f5aed5
+EBUILD cppcheck-1.30.ebuild 698 RMD160 4080b1ec1448fce8a21286a9f6bf43f32e235d17 SHA1 954a225ec65a1c5a694630000ed7bd0b0de15d01 SHA256 ad465a2e4d78755cb241d58b01d9212f684382530142fad35b58fcaa2c9f2789
+MISC ChangeLog 535 RMD160 2d3a200111328405e0443f8689ba1ebff4ad6513 SHA1 00c444be7f96d24d8053ed65159589f4a9daca75 SHA256 82e83e09219514c74c29da3fbb204357700b80043430239893114eab5211071b
MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkmxg9YACgkQn/5bYzqsSmEBtQCeOtvA1ldodL3OaZCRrmUVZk5c
-sLEAoI42i8qRyU9soNBfg7x20NhitaLu
-=XYJX
+iEYEARECAAYFAkm0GMkACgkQn/5bYzqsSmFJKACfb8AWbIv9vpidEznXKT8r9MCy
+ClUAmgLEedQHgVVchPZPLhW/3+eCx9Z8
+=O1cJ
-----END PGP SIGNATURE-----
diff --git a/dev-util/cppcheck/cppcheck-1.30.ebuild b/dev-util/cppcheck/cppcheck-1.30.ebuild
new file mode 100644
index 000000000000..66c95b0f06b5
--- /dev/null
+++ b/dev-util/cppcheck/cppcheck-1.30.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/cppcheck/cppcheck-1.30.ebuild,v 1.1 2009/03/08 19:13:07 vapier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="static analyzer of C/C++ code"
+HOMEPAGE="http://apps.sourceforge.net/trac/cppcheck/"
+SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-build.patch
+ sed -i \
+ -e '/^CXXFLAGS/s:=:+=:' \
+ -e '/^CXX=/d' \
+ Makefile
+ tc-export CXX
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc readme.txt
+}
diff --git a/dev-util/cppcheck/files/cppcheck-1.30-build.patch b/dev-util/cppcheck/files/cppcheck-1.30-build.patch
new file mode 100644
index 000000000000..12831dc6447e
--- /dev/null
+++ b/dev-util/cppcheck/files/cppcheck-1.30-build.patch
@@ -0,0 +1,217 @@
+diff --git a/Makefile b/Makefile
+index e9550ee..d2c84c4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,5 +1,5 @@
+ CXXFLAGS=-Wall -Wextra -pedantic -g
+-COMPILER=g++
++CXX=g++
+ BIN=${DESTDIR}/usr/bin
+
+
+@@ -72,12 +72,12 @@ TESTOBJ = test/testbufferoverrun.o \
+ ###### Targets
+
+ cppcheck: $(OBJECTS)
+- $(COMPILER) $(CXXFLAGS) -o cppcheck $(OBJECTS)
++ $(CXX) $(CXXFLAGS) -o cppcheck $(OBJECTS) $(LDFLAGS)
+
+ all: cppcheck testrunner tools
+
+ testrunner: $(TESTOBJ)
+- $(COMPILER) $(CXXFLAGS) -o testrunner $(TESTOBJ)
++ $(CXX) $(CXXFLAGS) -o testrunner $(TESTOBJ) $(LDFLAGS)
+
+ test: all
+ ./testrunner
+@@ -85,10 +85,10 @@ test: all
+ tools: tools/errmsg tools/dmake
+
+ tools/errmsg: tools/errmsg.cpp
+- $(COMPILER) $(CXXFLAGS) -o tools/errmsg tools/errmsg.cpp
++ $(CXX) $(CXXFLAGS) -o tools/errmsg tools/errmsg.cpp $(LDFLAGS)
+
+ tools/dmake: tools/dmake.cpp src/filelister.cpp src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -o tools/dmake tools/dmake.cpp src/filelister.cpp
++ $(CXX) $(CXXFLAGS) -o tools/dmake tools/dmake.cpp src/filelister.cpp $(LDFLAGS)
+
+ clean:
+ rm -f src/*.o test/*.o testrunner cppcheck tools/dmake tools/errmsg
+@@ -101,133 +101,133 @@ install: cppcheck
+ ###### Build
+
+ src/checkbufferoverrun.o: src/checkbufferoverrun.cpp src/checkbufferoverrun.h src/settings.h src/tokenize.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkbufferoverrun.o src/checkbufferoverrun.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkbufferoverrun.o src/checkbufferoverrun.cpp
+
+ src/checkclass.o: src/checkclass.cpp src/checkclass.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkclass.o src/checkclass.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkclass.o src/checkclass.cpp
+
+ src/checkdangerousfunctions.o: src/checkdangerousfunctions.cpp src/checkdangerousfunctions.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkdangerousfunctions.o src/checkdangerousfunctions.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkdangerousfunctions.o src/checkdangerousfunctions.cpp
+
+ src/checkfunctionusage.o: src/checkfunctionusage.cpp src/checkfunctionusage.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkfunctionusage.o src/checkfunctionusage.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkfunctionusage.o src/checkfunctionusage.cpp
+
+ src/checkheaders.o: src/checkheaders.cpp src/checkheaders.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkheaders.o src/checkheaders.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkheaders.o src/checkheaders.cpp
+
+ src/checkmemoryleak.o: src/checkmemoryleak.cpp src/checkmemoryleak.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkmemoryleak.o src/checkmemoryleak.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkmemoryleak.o src/checkmemoryleak.cpp
+
+ src/checkother.o: src/checkother.cpp src/checkother.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkother.o src/checkother.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkother.o src/checkother.cpp
+
+ src/checksecurity.o: src/checksecurity.cpp src/checksecurity.h src/errorlogger.h src/settings.h src/token.h src/tokenize.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checksecurity.o src/checksecurity.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checksecurity.o src/checksecurity.cpp
+
+ src/checkstl.o: src/checkstl.cpp src/checkstl.h src/errorlogger.h src/settings.h src/token.h src/tokenize.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/checkstl.o src/checkstl.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/checkstl.o src/checkstl.cpp
+
+ src/cppcheck.o: src/cppcheck.cpp src/cppcheck.h src/settings.h src/errorlogger.h src/checkfunctionusage.h src/tokenize.h src/token.h src/preprocessor.h src/checkmemoryleak.h src/checkbufferoverrun.h src/checkdangerousfunctions.h src/checkclass.h src/checkheaders.h src/checkother.h src/checkstl.h src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/cppcheck.o src/cppcheck.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/cppcheck.o src/cppcheck.cpp
+
+ src/cppcheckexecutor.o: src/cppcheckexecutor.cpp src/cppcheckexecutor.h src/errorlogger.h src/settings.h src/cppcheck.h src/checkfunctionusage.h src/tokenize.h src/token.h src/threadexecutor.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/cppcheckexecutor.o src/cppcheckexecutor.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/cppcheckexecutor.o src/cppcheckexecutor.cpp
+
+ src/errorlogger.o: src/errorlogger.cpp src/errorlogger.h src/settings.h src/tokenize.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/errorlogger.o src/errorlogger.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/errorlogger.o src/errorlogger.cpp
+
+ src/filelister.o: src/filelister.cpp src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/filelister.o src/filelister.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/filelister.o src/filelister.cpp
+
+ src/main.o: src/main.cpp src/cppcheckexecutor.h src/errorlogger.h src/settings.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/main.o src/main.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/main.o src/main.cpp
+
+ src/preprocessor.o: src/preprocessor.cpp src/preprocessor.h src/tokenize.h src/settings.h src/errorlogger.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/preprocessor.o src/preprocessor.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/preprocessor.o src/preprocessor.cpp
+
+ src/settings.o: src/settings.cpp src/settings.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/settings.o src/settings.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/settings.o src/settings.cpp
+
+ src/threadexecutor.o: src/threadexecutor.cpp src/threadexecutor.h src/settings.h src/errorlogger.h src/cppcheck.h src/checkfunctionusage.h src/tokenize.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/threadexecutor.o src/threadexecutor.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/threadexecutor.o src/threadexecutor.cpp
+
+ src/token.o: src/token.cpp src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/token.o src/token.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/token.o src/token.cpp
+
+ src/tokenize.o: src/tokenize.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -c -o src/tokenize.o src/tokenize.cpp
++ $(CXX) $(CXXFLAGS) -c -o src/tokenize.o src/tokenize.cpp
+
+ test/testbufferoverrun.o: test/testbufferoverrun.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkbufferoverrun.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testbufferoverrun.o test/testbufferoverrun.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testbufferoverrun.o test/testbufferoverrun.cpp
+
+ test/testcharvar.o: test/testcharvar.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkother.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testcharvar.o test/testcharvar.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testcharvar.o test/testcharvar.cpp
+
+ test/testclass.o: test/testclass.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkclass.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testclass.o test/testclass.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testclass.o test/testclass.cpp
+
+ test/testconstructors.o: test/testconstructors.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkclass.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testconstructors.o test/testconstructors.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testconstructors.o test/testconstructors.cpp
+
+ test/testcppcheck.o: test/testcppcheck.cpp test/testsuite.h src/errorlogger.h src/settings.h src/cppcheck.h src/checkfunctionusage.h src/tokenize.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testcppcheck.o test/testcppcheck.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testcppcheck.o test/testcppcheck.cpp
+
+ test/testdangerousfunctions.o: test/testdangerousfunctions.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkdangerousfunctions.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testdangerousfunctions.o test/testdangerousfunctions.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testdangerousfunctions.o test/testdangerousfunctions.cpp
+
+ test/testdivision.o: test/testdivision.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkother.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testdivision.o test/testdivision.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testdivision.o test/testdivision.cpp
+
+ test/testfilelister.o: test/testfilelister.cpp test/testsuite.h src/errorlogger.h src/settings.h src/filelister.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testfilelister.o test/testfilelister.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testfilelister.o test/testfilelister.cpp
+
+ test/testfunctionusage.o: test/testfunctionusage.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h test/testsuite.h src/checkfunctionusage.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testfunctionusage.o test/testfunctionusage.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testfunctionusage.o test/testfunctionusage.cpp
+
+ test/testincompletestatement.o: test/testincompletestatement.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/token.h src/checkother.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testincompletestatement.o test/testincompletestatement.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testincompletestatement.o test/testincompletestatement.cpp
+
+ test/testmemleak.o: test/testmemleak.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkmemoryleak.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testmemleak.o test/testmemleak.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testmemleak.o test/testmemleak.cpp
+
+ test/testmemleakmp.o: test/testmemleakmp.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkmemoryleak.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testmemleakmp.o test/testmemleakmp.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testmemleakmp.o test/testmemleakmp.cpp
+
+ test/testother.o: test/testother.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkother.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testother.o test/testother.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testother.o test/testother.cpp
+
+-test/testpreprocessor.o: test/testpreprocessor.cpp test/testsuite.h src/errorlogger.h src/settings.h src/preprocessor.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testpreprocessor.o test/testpreprocessor.cpp
++test/testpreprocessor.o: test/testpreprocessor.cpp test/testsuite.h src/errorlogger.h src/settings.h src/preprocessor.h src/tokenize.h src/token.h
++ $(CXX) $(CXXFLAGS) -c -o test/testpreprocessor.o test/testpreprocessor.cpp
+
+ test/testredundantif.o: test/testredundantif.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkother.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testredundantif.o test/testredundantif.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testredundantif.o test/testredundantif.cpp
+
+ test/testrunner.o: test/testrunner.cpp test/testsuite.h src/errorlogger.h src/settings.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testrunner.o test/testrunner.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testrunner.o test/testrunner.cpp
+
+ test/testsecurity.o: test/testsecurity.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checksecurity.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testsecurity.o test/testsecurity.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testsecurity.o test/testsecurity.cpp
+
+ test/testsimplifytokens.o: test/testsimplifytokens.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testsimplifytokens.o test/testsimplifytokens.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testsimplifytokens.o test/testsimplifytokens.cpp
+
+ test/teststl.o: test/teststl.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkstl.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/teststl.o test/teststl.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/teststl.o test/teststl.cpp
+
+ test/testsuite.o: test/testsuite.cpp test/testsuite.h src/errorlogger.h src/settings.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testsuite.o test/testsuite.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testsuite.o test/testsuite.cpp
+
+ test/testtoken.o: test/testtoken.cpp test/testsuite.h src/errorlogger.h src/settings.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testtoken.o test/testtoken.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testtoken.o test/testtoken.cpp
+
+ test/testtokenize.o: test/testtokenize.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/token.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testtokenize.o test/testtokenize.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testtokenize.o test/testtokenize.cpp
+
+ test/testunusedprivfunc.o: test/testunusedprivfunc.cpp src/tokenize.h src/settings.h src/errorlogger.h src/token.h src/checkclass.h test/testsuite.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testunusedprivfunc.o test/testunusedprivfunc.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testunusedprivfunc.o test/testunusedprivfunc.cpp
+
+ test/testunusedvar.o: test/testunusedvar.cpp test/testsuite.h src/errorlogger.h src/settings.h src/tokenize.h src/token.h src/checkother.h
+- $(COMPILER) $(CXXFLAGS) -c -o test/testunusedvar.o test/testunusedvar.cpp
++ $(CXX) $(CXXFLAGS) -c -o test/testunusedvar.o test/testunusedvar.cpp
+
+ src/errorlogger.h: tools/errmsg
+ tools/errmsg