[libav-devel] [PATCH 7/7] build: Move -Wcast-qual to the extra_warnings

Diego Biurrun diego at biurrun.de
Fri Dec 4 12:13:54 CET 2015


On Thu, Nov 26, 2015 at 06:54:26PM +0100, Luca Barbato wrote:
> On 26/11/15 18:40, Diego Biurrun wrote:
> > On Thu, Nov 26, 2015 at 05:17:31PM +0100, Luca Barbato wrote:
> >> --- a/configure
> >> +++ b/configure
> >> @@ -4658,13 +4658,12 @@ check_cflags -Wall
> >>  check_cflags -Wdisabled-optimization
> >>  check_cflags -Wpointer-arith
> >>  check_cflags -Wredundant-decls
> >> -check_cflags -Wcast-qual
> >>  check_cflags -Wwrite-strings
> >>  check_cflags -Wtype-limits
> >>  check_cflags -Wundef
> >>  check_cflags -Wmissing-prototypes
> >>  check_cflags -Wstrict-prototypes
> >> -enabled extra_warnings && check_cflags -Winline
> >> +enabled extra_warnings && check_cflags -Winline -Wcast-qual
> 
> Amended this way
> 
> enabled extra_warnings && check_cflags -Winline
> enabled extra_warnings && check_cflags -Wcast-qual
> 
> Tell me if you prefer having the block of checks between {}

Add one if-block below which all extra warnings options are tested.

Diego


More information about the libav-devel mailing list