no builtin_inf on some un*x

Discuss any Chipmunk bugs here.

no builtin_inf on some un*x

Postby Tam Toucan » Tue Dec 15, 2009 4:14 am

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
Tam Toucan
 
Posts: 141
Joined: Tue Jun 23, 2009 4:26 pm

Re: no builtin_inf on some un*x

Postby slembcke » Tue Dec 15, 2009 10:04 am

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/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest