[FFmpeg-devel] [PATCH] configure: add -Wstrict-prototypes when available

Hendrik Leppkes h.leppkes at gmail.com
Thu Oct 22 20:45:48 CEST 2015


On Thu, Oct 22, 2015 at 8:40 PM, Ganesh Ajjanagadde
<gajjanagadde at gmail.com> wrote:
> GCC (and Clang) have this useful warning that is not enabled by -Wall or
> -Wextra. This will ensure that issues like those fixed in
> 4da52e3630343e8d3a79aef2cafcb6bf0b71e8da
> will trigger warnings.
>

I did get this warning on GCC 5.2, which is how I found it in the
first place. :)
Seems to be enabled by default here at least.

Otherwise probably OK if its not enabled on other compilers that
understand such a flag.

- Hendrik


More information about the ffmpeg-devel mailing list