[ scummvm-Patches-1523129 ] small fix neede for solaris 8 build

SourceForge.net noreply at sourceforge.net
Sat Jul 15 20:22:05 CEST 2006


Patches item #1523129, was opened at 2006-07-15 18:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1523129&group_id=37116

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Markus Strangl (wooshell)
Assigned to: Nobody/Anonymous (nobody)
Summary: small fix neede for solaris 8 build

Initial Comment:
Since the MT32emu was introduced, I'm encountering
compilation errors on Solaris 8, probably to C99
conformity issues.
Basically, I'd need
#ifdef Solaris
#define fabsf fabs
#define fpowf fpow
... and a few other fmathf functions I can't look up at
the moment in the mt32emu/*.c source files.

Changing that by hand for the release binaries is no
problem, but for every svn version I build, it's
annoying.. please fix ;)

I don't know whether the problem still exists on
Solaris 9 or 10, but it does on 8 and below. I don't
know how to detect that circumstance reliably (without
actually checking for the presence of those functions),
but applying the #define on all Solarises shouldn't
cause any  problems as those functions produce floats
anyway, even the versions without -f.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=1523129&group_id=37116




More information about the Scummvm-tracker mailing list