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

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Sep 13 10:08:00 CEST 2013


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




More information about the MPlayer-users mailing list