FTBFS on armel: qreal is float not double

• Dec 7, 2009 - 08:56
Type
Functional
Severity
S4 - Minor
Status
closed
Project

Even though I don't suppose we have (m)any ARM users, it would be nice for the package to build properly. I'm sorry I don't have a patch for this. From http://bugs.debian.org/559854 :

On armel, qreal is defined as float rather than double. thus, any calls to functions
that take qreals should be cast to qreal first. See the snip with the build error:

> [ 86%] Building CXX object mscore/CMakeFiles/mscore.dir/bracket.cpp.o
> [ 86%] Building CXX object mscore/CMakeFiles/mscore.dir/canvas.cpp.o
> /build/buildd-mscore_0.9.5+dfsg-1-armel-zHPlOl/mscore-0.9.5+dfsg/mscore/mscore/canvas.cpp:2346: error: prototype for 'void Canvas::setMag(double)' does not match any in class 'Canvas'
> /build/buildd-mscore_0.9.5+dfsg-1-armel-zHPlOl/mscore-0.9.5+dfsg/mscore/mscore/canvas.h:160: error: candidate is: void Canvas::setMag(qreal)
> make[4]: *** [mscore/CMakeFiles/mscore.dir/canvas.cpp.o] Error 1
> make[4]: Leaving directory `/build/buildd-mscore_0.9.5+dfsg-1-armel-zHPlOl/mscore-0.9.5+dfsg/build'
> make[3]: *** [mscore/CMakeFiles/mscore.dir/all] Error 2


Comments

Status (old) active patch (code needs review)

Thanks for bringing the patch extension issue to my attention. It's fixed now.