[MPlayer-dev-eng] Patch for gcc 3.4 against MPlayer-1.0pre5
Alexander Strasser
eclipse7 at gmx.net
Thu Sep 2 11:24:23 CEST 2004
On Thu, Sep 02, 2004 at 09:17:16AM +0200, Torinthiel wrote:
> > $ man 3 fesetround
>
> DESCRIPTION
> These eleven functions were defined in C99, and describe the handling
> of floating point rounding and exceptions (overflow, zero-divide etc.).
>
> C99 is not widely used here. gcc 2.95 doesn't support it.
> By the way. As I understand it if I call fesetround(FE_DOWNWARD) than
> round(0.7)==0? Ouch. If I want this then I use ceil And it still doesn't
> define what happens with +/-0.5 under FE_TONEAREST.
> Torinthiel
No matter what you say MPlayer never gets under ANSI C. It may go under
partially GCC version standard or whatever. But some/many extensions used
in MPlayer source are also in C99 or however you want to express it.
At least I remember to have seen them...
Alex (beastd)
More information about the MPlayer-dev-eng
mailing list