Hi! Attached patch fixes several warnings when compiling libavfilter with current gcc.
Please comment, Carl Eugen
From 2d2893e8f7406043f970ae347509c39832c97b50 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos <ceffm...@gmail.com> Date: Mon, 18 Sep 2017 03:35:37 +0200 Subject: [PATCH] configure: Add -Wno-main. Silences several warnings: main is usually a function --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 2de20a0..952cb16 100755 --- a/configure +++ b/configure @@ -6248,6 +6248,7 @@ check_cflags -Wmissing-prototypes check_cflags -Wno-pointer-to-int-cast check_cflags -Wstrict-prototypes check_cflags -Wempty-body +check_cflags -Wno-main if enabled extra_warnings; then check_cflags -Wcast-qual -- 1.7.10.4
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel