From: Tim-Philipp Müller Date: Sat, 25 May 2019 11:36:40 +0000 (+0200) Subject: configure: pass -Wno-attributes to fix build against broken ffmpeg headers X-Git-Tag: 1.19.3~499^2~95 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bf5b537d6afd843794215000f8b6782990ee3c6;p=platform%2Fupstream%2Fgstreamer.git configure: pass -Wno-attributes to fix build against broken ffmpeg headers libavutil/mem.h:342:1: error: ‘alloc_size’ attribute ignored on a function returning ‘int’ av_alloc_size(2, 3) int av_reallocp_array(void *ptr, size_t nmemb, size_t size); ^~~~~~~~~~~~~ Hopefully fixes build on jenkins. --- diff --git a/configure.ac b/configure.ac index f41d321..3027a44 100644 --- a/configure.ac +++ b/configure.ac @@ -165,7 +165,7 @@ AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [ -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wold-style-definition -Winit-self -Wmissing-include-dirs -Waddress - -Waggregate-return -Wno-multichar -Wnested-externs ]) + -Waggregate-return -Wno-multichar -Wnested-externs -Wno-attributes]) dnl define correct level for debugging messages AG_GST_SET_LEVEL_DEFAULT($GST_GIT)