Source: kst
Version: 2.0.6-1
Severity: serious

https://buildd.debian.org/status/package.php?p=kst&suite=sid

...
/«PKGBUILDDIR»/src/libkstapp/circleitem.cpp: In member function 'virtual void 
Kst::CircleItem::creationPolygonChanged(Kst::View::CreationEvent)':
/«PKGBUILDDIR»/src/libkstapp/circleitem.cpp:73:43: error: no matching function 
for call to 'qMax(double, float)'
     qreal r = qMax(2.0,sqrt(dx*dx + dy*dy));
                                           ^
In file included from /usr/include/qt4/QtCore/qchar.h:45:0,
                 from /usr/include/qt4/QtCore/qstring.h:45,
                 from /usr/include/qt4/QtCore/qdir.h:45,
                 from /usr/include/qt4/QtCore/qabstractfileengine.h:45,
                 from /usr/include/qt4/QtCore/QtCore:3,
                 from 
/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/src/libkst/kstcore_pch.h:8,
                 from 
/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/src/libkstmath/kstmath_pch.h:2,
                 from 
/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/src/widgets/kstwidgets_pch.h:2,
                 from 
/«PKGBUILDDIR»/obj-arm-linux-gnueabihf/src/libkstapp/kstapp_pch.h:2:
/usr/include/qt4/QtCore/qglobal.h:1330:34: note: candidate: template<class T> 
constexpr const T& qMax(const T&, const T&)
 Q_DECL_CONSTEXPR inline const T &qMax(const T &a, const T &b) { return (a < b) 
? b : a; }
                                  ^~~~
/usr/include/qt4/QtCore/qglobal.h:1330:34: note:   template argument 
deduction/substitution failed:
/«PKGBUILDDIR»/src/libkstapp/circleitem.cpp:73:43: note:   deduced conflicting 
types for parameter 'const T' ('double' and 'float')
     qreal r = qMax(2.0,sqrt(dx*dx + dy*dy));
                                           ^
...


https://wiki.debian.org/ArmEabiFixes#qreal_.28qMin.2C_qMax.2C_Qt.29

Reply via email to