[Mesa-dev] [PATCH] configure: avoid testing for negative compiler options

Matt Turner mattst88 at gmail.com
Wed Nov 29 20:28:59 UTC 2017


On Wed, Nov 29, 2017 at 5:47 AM, Marc Dietrich <marvin24 at gmx.de> wrote:
> gcc seems to always accept unsupported negative compiler warning options:
>
> echo "int i;" | gcc -c -xc -Wno-bob - # no error
> echo "int i;" | gcc -c -xc -Walice -  # unsupported compiler option
>
> Inverting the options fixes the tests.

Thanks for figuring this out.

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list