hedecai/fog

sincosf() and sincos() are not availble under Mac OS X with GCC 4.2

Closed this issue · 2 comments

The methods sincosf() and sincos() don't seem to be available under Mac OS
X when trying to compile with GCC 4.2 (brought by XCode). In order to make
it working #if defined(FOG_CC_GNU) ... has to be changed to #if
defined(FOG_CC_GNU) && !defined(FOG_OS_MAC) ... or something similar. 

The problem might be that sincosf() and sincos() are just GNU extensions?

Original issue reported on code.google.com by niels.pf...@gmail.com on 31 Jan 2010 at 12:02

Fixed in trunk,

also corrected sinf() cosf() wrappers, so please check if it compiles on mac.

Original comment by kobalicek.petr on 2 Feb 2010 at 12:53

  • Changed state: Fixed
Yes, it works fine no

Original comment by niels.pf...@gmail.com on 2 Feb 2010 at 4:04