Erik Hofman wrote:
> According to a document from sun you will need to include sunmath.h??
> Maybe it's also available in the cmath header file.
quickstep: 15:27:48 ~> uname -a
FreeBSD quickstep.plesnik.bonsai.de 5.3-RELEASE FreeBSD 5.3-RELEASE #2: [...]
quickstep: 16:13:31 ~> grep fmodf /usr/include/math.h
float fmodf(float, float);
isnix: 16:14:35 ~> uname -a
Linux isnix 2.4.31 #25 Fri Sep 23 14:11:35 CEST 2005 i686 unknown unknown
GNU/Linux
isnix: 16:14:37 ~> grep fmodf /usr/include/math.h
isnix: 16:14:42 ~>
foehn: 16:15:44 ~> uname -a
SunOS foehn 5.8 Generic_108528-29 sun4u sparc
foehn: 16:15:55 ~> find /usr/include/ -not -type d -exec grep -l fmodf {} \;
/usr/include/iso/math_iso.h
foehn: 16:16:30 ~> grep fmodf /usr/include/iso/math_iso.h
extern float __fmodf(float, float);
Hmmm, to me this looks like the one on Solaris is definitely a
different one. Isn't it ? Unfortunately ncluding 'cmath' (from GCC)
doesn't help either.
Cheers,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d