: Re: [MPlayer-dev-eng] Patch for gcc 3.4 against MPlayer-1.0pre5

Ivo ivop at euronet.nl
Fri Sep 3 02:21:04 CEST 2004


On Friday 03 September 2004 01:55, Martin Simmons wrote:
> Compile with -Wall to see that nothing declares round().  E.g. add
>
> double round(double x);
>
> I can't find a working header file definition for this in /usr/include.

Neither can I. It should be in math.h, but it's not. Just like trunc() and 
nearbyint() are missing. They have been missing for years. Googling for it, 
results in pages going back to October 2001. tgmath.h does mention round() 
et cetera, but I'm unsure of how to use that.

--Ivo




More information about the MPlayer-dev-eng mailing list