[FFmpeg-devel] [PATCH]configure: Add -Wno-main

James Almer jamrial at gmail.com
Mon Sep 18 04:47:50 EEST 2017

On 9/17/2017 10:37 PM, Carl Eugen Hoyos wrote:
> Hi!
> Attached patch fixes several warnings when compiling libavfilter with
> current gcc.
> Please comment, Carl Eugen

IMO, it would be better if we instead rename all the cases of "main"
used across the codebase.
I'm surprised for that matter that SDL, with its "-Dmain=SDL_main"
cflag, didn't make a mess out of this.

More information about the ffmpeg-devel mailing list