no builtin_inf on some un*x

Discuss any Chipmunk bugs here.
Post Reply
User avatar
Tam Toucan
Posts: 141
Joined: Tue Jun 23, 2009 4:26 pm
Contact:

no builtin_inf on some un*x

Post by Tam Toucan »

I can hear your screams from here ;)

It seems that none of redhat EL3 linux, Solaris9 or HP-SUX have builtin_inf. math.h #define's INFINITY to HUGE_VALF. SuSe SLES9 does have it.

Not a huge problem since anyone using one of these probably knows what they are doing :)
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: no builtin_inf on some un*x

Post by slembcke »

Ugh. Seriously, how the blast are you supposed to define a constant for floating point infinity without throwing compile errors or warnings on various compilers?

Every time I change it to make warnings go away for one person, it just shows up somewhere else again! Gah!
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests