Warning : qreal in Plasma...
Aaron J. Seigo
aseigo at kde.org
Wed Dec 2 21:40:35 CET 2009
On December 2, 2009, Marco Martin wrote:
> On Wednesday 02 December 2009, Alexis Ménard wrote:
> > Hello dudes,
> >
> > When recompiling Plasma for the N900 i found some compilations issues,
> > don't worry no big deal.
> >
> > Just so you know on ARM qreal is not a double but a float...
> >
> > so qMax(0.0, whatEverQReal) doesn't compile...You should use
> > qMax(qreal(0.0), whatEverQReal)...
or in this particular case, qMax(0, whatEverQReal) works as well iirc
> > Thanks. Cheers!
>
> oh, noes! again! :)
>
> would be feasible for qmax, qmin etc to spit a warning anyways in this
> case?
doubtful, because qreal is a float on our systems so it doesn't see anything
odd. we simply need to have an arm build somewhere that catches these things
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20091202/5e06bf39/attachment.sig
More information about the Plasma-devel
mailing list