...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.
 
_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to