[MPlayer-dev-eng] Correctly Printing FOURCCs

D Richard Felker III dalias at aerifal.cx
Fri Mar 1 21:17:05 CET 2002


On Fri, Mar 01, 2002 at 03:42:45PM +0100, Falk Hueffner wrote:
> D Richard Felker III <dalias at aerifal.cx> writes:
> 
> > > ahh, and someone should test this with gcc 3.x first.
> > > as it handles printf as macro, weird things used to happen when we use
> > > tricky macros or #if together with printf :(
> > 
> > Then gcc 3.x is broken. Last I checked the C standard does not
> > specify that printf can be a macro.
> 
> Check again, it does.

That's not possible, since printf *cannot* be implemented as a macro
in standard C. It requires compiler extensions which allow macros to
take a variable number of arguments.

Rich




More information about the MPlayer-dev-eng mailing list