[SailfishDevel] Build with sailfish latest on mer-obs fails, QVariant, double (?)

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Sun Jan 11 18:35:30 UTC 2015


...lesson learned :)


>This is why #defines are a terrible idea when there are alternatives. First, the pi number is already defined as M_PI in math.h. 
>Second, if you have to do that, and specify constants, use a "const double foo = ...". The compile errors (if any) will be much >more meaningful.
 


More information about the Devel mailing list