From 0bf5b537d6afd843794215000f8b6782990ee3c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 25 May 2019 13:36:40 +0200 Subject: [PATCH] configure: pass -Wno-attributes to fix build against broken ffmpeg headers MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.7.4