On Wed, Dec 21, 2011 at 01:35:24AM +0000, Måns Rullgård wrote: > Diego Biurrun <[email protected]> writes: > > On Tue, Dec 20, 2011 at 04:32:10PM +0000, Mans Rullgard wrote: > >> > >> --- a/configure > >> +++ b/configure > >> @@ -3116,6 +3116,7 @@ elif enabled gcc; then > >> check_cflags -Werror=missing-prototypes > >> + check_cflags -Werror=declaration-after-statement > >> elif enabled llvm_gcc; then > >> check_cflags -mllvm -stack-alignment=16 > >> elif enabled clang; then > > > > This will not work, gcc will refuse to build all the AltiVec code. > > It does now.
Except for one test in libavcodec: CC libavcodec/h264-test.o libavcodec/h264.c: In function ‘fill_filter_caches_inter’: libavcodec/h264.c:3257: warning: initialization from incompatible pointer type libavcodec/h264.c:3272: warning: initialization from incompatible pointer type libavcodec/h264.c:3305: warning: initialization from incompatible pointer type libavcodec/h264.c: In function ‘decode_nal_units’: libavcodec/h264.c:3792: warning: assignment discards qualifiers from pointer target type libavcodec/h264.c: In function ‘main’: libavcodec/h264.c:4134: error: ISO C90 forbids mixed declarations and code libavcodec/h264.c:4159: error: ISO C90 forbids mixed declarations and code make: *** [libavcodec/h264-test.o] Error 1 Diego _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
