kphillisjr / fog

Automatically exported from code.google.com/p/fog
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
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

GoogleCodeExporter commented 8 years ago
Yes, it works fine no

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