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

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to