[Ktechlab-devel] Project components dependencies
P Zoltan
zoltan.padrah at gmail.com
Thu Jan 21 00:30:30 UTC 2010
Hi,
I've started writing a testbench for the math classes in ktechlab [1]. At
the attempt of compiling an error popped up, complaining about some
declarations in kdebug.h [2]. The latter one is part of KDE, AFAIK version
3, so that is an issue here.
The question is, what should be done? Port the code to KDE4 or use
standard (or Qt's) output methdos, which remove the dependency of math
related classes on KDE (this is the logical way for me).
When something works, I'll push it to git; also change the files in SVN?
What's your opinion?
Zoltan
[1] matrix.cpp matrix.h qmatrix.cpp qmatrix.h qvector.cpp qvector.h
[2]
/usr/include/kdebug.h:183: error: declaration of \u2018operator<<\u2019 as
non-function
/usr/include/kdebug.h:183: error: expected \u2018;\u2019 before
\u2018(\u2019 token
/usr/include/kdebug.h:193: error: expected `;' before
\u2018kdbgstream\u2019
/usr/include/kdebug.h:193: error: declaration of \u2018operator<<\u2019 as
non-function
/usr/include/kdebug.h:193: error: expected \u2018;\u2019 before
\u2018(\u2019 token
/usr/include/kdebug.h:202: error: expected `;' before \u2018void\u2019
/usr/include/kdebug.h:240: error: expected \u2018,\u2019 or
\u2018...\u2019 before \u2018&\u2019 token
/usr/include/kdebug.h:240: error: \u2018kdbgstream&
kdbgstream::operator<<(int)\u2019 cannot be overloaded
/usr/include/kdebug.h:143: error: with \u2018kdbgstream&
kdbgstream::operator<<(int)\u2019
More information about the Ktechlab-devel
mailing list