summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorGilles Espinasse <g.esp@free.fr>2012-10-20 20:22:51 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-21 17:32:53 +0100
commitd49b2284b505e93cd415af4da3cd2cc2d3d168d3 (patch)
tree50cb41dd41a7b5d8a68b1d9110b22e1fce970ee5 /NEWS
parentb12a94b98306d87689bad23dad4c0ec033037046 (diff)
configure: fix unrecognized -Wno option
gcc-4.4 and later accept every -Wno option. So we can test for the option without no in the name to check if the option is supported. Each time a warning is emitted and without this fix, on gcc-4.4 that will add this warning: cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable" bugs.freedesktop.org #51633, rediffed after 1.12.4 Of course this assumes that all compilers will behave like gcc, which is reasonably implicit in the set of warning flags. Signed-off-by: Gilles Espinasse <g.esp@free.fr> [ickle: slight modification to test both -W and -Wno variants to ideally preserve compatability with non-GCC compilers sharing GCC options!]
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions