[Digikam-devel] digikam build failures on ARM/armel

Luka Renko lure at kubuntu.org
Mon Jan 12 07:53:48 GMT 2009


On Saturday 10 January 2009 18:10:24 Luka Renko wrote:
> -fexceptions -o
> CMakeFiles/digikamcore.dir/__/libs/dmetadata/geodetictools.o - c
> "/build/buildd/digikam-0.10.0~beta8/libs/dmetadata/geodetictools.cpp"
> /build/buildd/digikam-0.10.0~beta8/libs/dmetadata/geodetictools.cpp: In
> member function 'QPointF
> Digikam::GeodeticCalculator::destinationGeographicPoint()':
> /build/buildd/digikam-0.10.0~beta8/libs/dmetadata/geodetictools.cpp:179:
> error: no matching function for call to
> 'Digikam::GeodeticCalculator::destinationGeographicPoint(qreal*, qreal*)'
> /build/buildd/digikam-0.10.0~beta8/libs/dmetadata/geodetictools.cpp:164:
> note: candidates are: bool
> Digikam::GeodeticCalculator::destinationGeographicPoint(double*, double*)
> /build/buildd/digikam-0.10.0~beta8/libs/dmetadata/geodetictools.cpp:176:
> note:                 QPointF
> Digikam::GeodeticCalculator::destinationGeographicPoint()
>
>
> We can probably fix this quickly by just casting qreal -> double in all
> cases (as it looks like digikam uses mostly double, while Qt code in
> qreal). The other option could be to use qreal in digikam code, but I am
> not sure if this would have some side effect (loss of precission)...

Ok, it looks like this is fixed with the following change. Can somebody review 
this and tell me if this can be committed to SVN?

Regards,
Luka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-kubuntu-fix-armel.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20090112/05f71d52/attachment.bin>


More information about the Digikam-devel mailing list