[MPlayer-users] compile error [power pc mac 10.5.8]

Fred Fred.Brockstedt at BeLUG.de
Fri Sep 13 10:51:10 CEST 2013


On 13.09.13 10:08, Carl Eugen Hoyos wrote:
> Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
>
>> luvyua <luvyua <at> gmail.com> writes:
>>
>>> CC	libavfilter/audio.o
>>> In file included from libavfilter/audio.h:26,
>>>                   from libavfilter/audio.c:27:
>>> libavfilter/internal.h: In function 'ff_insert_inpad':
>>> libavfilter/internal.h:264: error: #pragma GCC
>>> diagnostic not allowed inside functions
>> Could you confirm that this also happens when you try
>> to compile current FFmpeg?
> If FFmpeg compilation works, please test the following
> inlined patch.
>
> Carl Eugen
>
>
> Index: configure
> ===================================================================
> --- configure   (revision 36415)
> +++ configure   (working copy)
> @@ -9077,7 +9077,7 @@
>   $def_truncf
>
>   #define HAVE_INCOMPATIBLE_LIBAV_ABI 0
> -#define HAVE_PRAGMA_DEPRECATED 1
> +#define HAVE_PRAGMA_DEPRECATED 0
>   #define CONFIG_AUDIO_FLOAT 0
>   #define CONFIG_AVCODEC 1
>   #define CONFIG_AVSERVER 0
>

Hi Carl Eugen,

I can confirm the issue on OS X 10.6 (Intel 64).
Patch is good and fixes compilation error.

- Fred





More information about the MPlayer-users mailing list