[Ffmpeg-devel] [PATCH] Remove PRI macros definition

François Revol revol
Sun Feb 25 17:47:47 CET 2007


> "Fran?ois Revol" <revol at free.fr> writes:
> 
> >> > > Attached patch removes defining PRI macros to some random 
> > > > > value 
> >> > > (based on
> >> > > gcc) that may or may not work...
> >> > >
> >> > 
> >> > OK with me.
> >> 
> >> with me too
> >
> > Definitely not.
> > BeOS needs them.
> > I'd rather have warnings because they are a bit wrong than not 
> > build at 
> > all.
> > You shouldn't have to care if you have them already.
> 
> You won't get warnings, but you will get random stuff printed and
> possibly crashes.  These defines need to go for the same reason we
> removed the intXX_t typedefs.

Then don't use them !

This breaks the BeOS build.
Either put them back, move them to os_support.h with ifdef I don't care 
but fix this.

Fran?ois.




More information about the ffmpeg-devel mailing list