[Ffmpeg-devel] New inlining warnings in SVN

Guillaume POIRIER poirierg
Mon Sep 4 13:46:12 CEST 2006


Hi,

On 9/4/06, ?smail D?nmez <ismail at pardus.org.tr> wrote:
> Hi all,
>
> I am getting all new and weird warning messages from ffmpeg SVN now:
>
> <-- snip -->
> mpegvideo.c: In function `MPV_motion':
> mpegvideo.c:3379: warning: inlining failed in call
> to 'prefetch_motion': --param large-function-growth limit reached
> mpegvideo.c:3415: warning: called from here
> mpegvideo.c:3161: warning: inlining failed in call to 'obmc_motion': --param
> large-function-growth limit reached
> mpegvideo.c:3463: warning: called from here
> mpegvideo.c:3287: warning: inlining failed in call
> to 'chroma_4mv_motion': --param large-function-growth limit reached
> mpegvideo.c:3473: warning: called from here
> mpegvideo.c:2596: warning: inlining failed in call to 'gmc1_motion': --param
> large-function-growth limit reached
> mpegvideo.c:3482: warning: called from here
> mpegvideo.c:2682: warning: inlining failed in call to 'gmc_motion': --param
> large-function-growth limit reached
> mpegvideo.c:3485: warning: called from here
> mpegvideo.c:3190: warning: inlining failed in call to 'qpel_motion': --param
> large-function-growth limit reached
> mpegvideo.c:3489: warning: called from here
> /home/cartman/SVN/ffmpeg/libavutil/common.h:252: warning: inlining failed in
> call to 'clip': --param large-function-growth limit reached
> <-- snip -->
>
> I both tried gcc 3.4.6 and gcc 4.2-SVN and both same. Anyone knows whats going
> on?

Good Lord! It's terrible! Run for your lives! ;-P

Ismail, if you had followed this list, you should have noticed that
some new flags were added to the compilation commanline, the
"offending" ont being: -Winline

If you wanna see the rest of these flags, go line 1467 of the configure script:

# add some useful compiler flags if supported
check_cflags -Wdeclaration-after-statement
check_cflags -Wall
check_cflags -Wno-switch
check_cflags -Wdisabled-optimization
check_cflags -Wpointer-arith
check_cflags -Wredundant-decls
check_cflags -Winline


Guillaume
-- 
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde



More information about the ffmpeg-devel mailing list