[Ffmpeg-devel] inttypes.h

Rich Felker dalias
Thu Nov 23 03:41:17 CET 2006


On Wed, Nov 22, 2006 at 10:38:20AM +0200, Uoti Urpala wrote:
> On Wed, 2006-11-22 at 09:15 +0100, Steve Lhomme wrote:
> > Apparently C99 support in gcc is far from clean too: 
> > http://gcc.gnu.org/c99status.html
> > 
> > Among broken things:
> > - variable-length arrays (used in FFMPEG)
> 
> But probably not broken in ways that would affect the usage in FFmpeg.

Yes, the brokenness is rather minor I think..

> > - library functions in <inttypes.h> (used in FFMPEG)
> 
> Where are those library functions used in FFmpeg?

Huh?? How do library functions have anything to do with the compiler?

> > - inline functions (used in FFMPEG)
> 
> What's broken in gcc are inline functions that are not declared static.
> Almost all inline uses in FFmpeg are for static functions. Fixing the
> exceptions shouldn't take much effort if they cause problems.

Non-static inline is nonsense and not even specified by ISO C as far
as I know.

Rich





More information about the ffmpeg-devel mailing list