configure: pass -Wno-attributes to fix build against broken ffmpeg headers
authorTim-Philipp Müller <tim@centricular.com>
Sat, 25 May 2019 11:36:40 +0000 (13:36 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 25 May 2019 11:36:40 +0000 (13:36 +0200)
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

index f41d321..3027a44 100644 (file)
@@ -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)