Build failure with bison 2.3.
FAILED: src/compiler/glsl/glcpp/glcpp-parse.c src/compiler/glsl/glcpp/glcpp-parse.h
/usr/bin/bison -Wno-deprecated -o src/compiler/glsl/glcpp/glcpp-parse.c -p glcpp_parser_ --defines=src/compiler/glsl/glcpp/glcpp-parse.h ../src/compiler/glsl/glcpp/glcpp-parse.y
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison: invalid option -- W
Try `/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison --help' for more information.
$ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bison --version
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
commit 11a1cb2fa8dadca9d918e8421a3b26a1b176937c
Author: Eric Anholt <eric@anholt.net>
Date: Tue Feb 18 16:03:19 2020 -0800
meson: Disable bison's -Wdeprecated since we still support old bison.
We can't stop using deprecated keywords because we maintain support for
ancient bison. Silence the warning so that builds are less noisy.
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3868>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3868>