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

2017-11-29 Thread Matt Turner
On Wed, Nov 29, 2017 at 5:47 AM, Marc Dietrich 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. T

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

2017-11-29 Thread Dylan Baker
Quoting Marc Dietrich (2017-11-29 05:47:55) > 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. > > Signed

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

2017-11-29 Thread Marc Dietrich
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. Signed-off-by: Marc Dietrich --- configure.ac | 4 ++-- meson.bu