So, if you compile without “-std=c99″, then I get this warning:
warning: incompatible implicit declaration of built-in function 'lrint'
And if I enable that switch, M_PI is suddenly undefined.
'M_PI' undeclared
Can anybody explain me how I am expected to write software without rounding and PI?
And no, I can’t be bothered to define PI in all my sourcefiles myself!
Cheers
-Richard
April 4th, 2008 at 2:26
edit math.h and add M_PI as i presume you alwasy include math.h when you need M_PI
April 4th, 2008 at 8:44
thx for the hint, but I was mostly ranting about the language standards hypocrites, that make their software barely usable for the sake of abiding to “standards”.
Cheers
-Richard