FTBFS on armel: qreal is float not double
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
Here is a patch (renamed it to .txt, otherwise the tracker doesn't accept it). This is against version 0.9.5 though. Please consider applying it to the trunk.
Thanks!
Thanks for bringing the patch extension issue to my attention. It's fixed now.
Hi,
This doesn't seem fixed with 0.9.6.
Just a reminder.
I think this bug is fixed for a long time. More fixes for ARM in r3500.
Automatically closed -- issue fixed for 2 weeks with no activity.