[FFmpeg-devel] Compilation with --disable-optimizations spews warnings
Måns Rullgård
mans
Wed Mar 10 13:30:00 CET 2010
Martin Storsj? <martin at martin.st> writes:
> 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...
Fixed.
IMO, the correct solution is to not mess with av_always_inline in
config.h.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-devel
mailing list