Source: qtiplot
Version: 0.9-2
Severity: serious

Hi Gudjon,

qtiplot is failing to build on arm and mips with the following error:

[...]
src/VectorCurve.cpp: In member function 'virtual QwtDoubleRect 
VectorCurve::boundingRect() const':
src/VectorCurve.cpp:254: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:255: error: no matching function for call to 'qMax(qreal, 
double)'
src/VectorCurve.cpp:256: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:257: error: no matching function for call to 'qMax(qreal, 
double)'
src/VectorCurve.cpp:263: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:264: error: no matching function for call to 'qMax(qreal, 
double)'
src/VectorCurve.cpp:265: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:266: error: no matching function for call to 'qMax(qreal, 
double)'
src/VectorCurve.cpp:271: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:272: error: no matching function for call to 'qMax(qreal, 
double)'
src/VectorCurve.cpp:273: error: no matching function for call to 'qMin(qreal, 
double)'
src/VectorCurve.cpp:274: error: no matching function for call to 'qMax(qreal, 
double)'
make[2]: *** [../tmp/qtiplot/VectorCurve.o] Error 1
make[2]: Leaving directory `/build/buildd/qtiplot-0.9/qtiplot'
[...]

A full build log can be found at
<http://buildd.debian.org/fetch.cgi?pkg=qtiplot&arch=arm&ver=0.9-2&stamp=1191801288&file=log&as=raw>.

This appears to be a result of some non-portable assumptions about the type
returned by the sin() and cos() functions across architectures?  I assume it
can be fixed on all archs by casting the args to "double" to satisfy the
templating requirements of qMin() and qMax(), rather than depending on the
resulting types to be the same.

This is the primary blocker for the gsl ldbl transition, as discussed on
debian-release.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to