[FFmpeg-devel] ffmpeg problems with gcc 4.3

Uoti Urpala uoti.urpala
Mon Jul 16 17:59:02 CEST 2007


On Mon, 2007-07-16 at 17:42 +0200, Luca Barbato wrote:
> Bernhard Rosenkraenzer wrote:
> [inline extern and extern inline]
> 
> you may:
> - force gcc to use gnuc dialect for inline
> - fix the code to use C99 for inline

The current headers which have "inline" declarations for the functions
without a function definition make no sense according to either C99 or
older gcc usage. If a function is inline then a definition must be in
the same translation unit. A declaration without a function body is
legal but rather pointless when it must be followed by the definition
anyway. I suppose it could have use cases like verifying that the
signatures of differently optimized local inline versions in
different .c files match, but that's not how the FFmpeg functions are
used.





More information about the ffmpeg-devel mailing list