Warning : qreal in Plasma...

Marco Martin notmart at gmail.com
Wed Dec 2 15:28:57 CET 2009


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)...
> 
> :D.
> 
> Thanks. Cheers!
> 
oh, noes! again! :)

would be feasible for qmax, qmin etc to spit a warning anyways in this case?

-- 
Marco Martin


More information about the Plasma-devel mailing list