Martin Spott wrote: > shadanim.cxx:178: error: `fmodf' undeclared (first use this function) > > Well, I tried a (too) simple fix my replacing "fmodf" with "modf" which > _does_ exist on Solaris8 but [...]
These functions don't do quite this same thing, but you can implement one instead of the other: #ifdef __sun static float fmodf(float x, float y) { double ipart; return (float)modf(x/y, &ipart); } #endif But the simplest solution is to use the standard fmod() (which returns a double) instead of fmodf() (which returns a float) by casting the result to a float. Andy _______________________________________________ Flightgear-devel mailing list Flightgear-devel@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-devel 2f585eeea02e2c79d7b1d8c4963bae2d