[FFmpeg-devel] Compilation with --disable-optimizations spews warnings

Martin Storsjö martin
Wed Mar 10 09:31:50 CET 2010


Hi,

Since splitting out libavutil/attributes.h in rev 22346, the compilation 
spews warnings of this kind, if configured with --disable-optimizations:

In file included from libavutil/common.h:89,
                 from libavutil/base64.c:27:
./config.h:13:1: warning: "av_always_inline" redefined
In file included from libavutil/common.h:37,
                 from libavutil/base64.c:27:
libavutil/attributes.h:37:1: warning: this is the location of the previous 
definition

Before rev 22366, this could have been fixed by including config.h before 
attributes.h, but now that the config.h include has been moved to the 
bottom, I'm not sure what the correct solution is...

// Martin



More information about the ffmpeg-devel mailing list