meson: use `console: true` parameter for bison and flex custom_target to fixes...
meson: use console: true
parameter for bison and flex custom_target to fixes invalid console output
The invalid encoded console output on mingw64/windows
[154/1438] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command
../../src/compiler/glsl/glcpp/glcpp-parse.y:176.1-12: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?pure-parser鈥濓紝搴斾娇鐢?]
176 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/compiler/glsl/glcpp/glcpp-parse.y:177.1-14: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?error-verbose鈥濓紝搴斾娇鐢[-Wdeprecated]
177 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
../../src/compiler/glsl/glcpp/glcpp-parse.y: 璀﹀憡: fix-its can be applied. Rerun with option '--update'. [-Wo
[157/1438] Generating src/compiler/glsl/glsl_parser with a custom command
../../src/compiler/glsl/glsl_parser.yy:84.1-12: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?pure-parser鈥濓紝搴斾娇鐢?鈥?def
84 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/compiler/glsl/glsl_parser.yy:85.1-14: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?error-verbose鈥濓紝搴斾娇鐢?鈥?drecated]
85 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
[615/1438] Generating src/mesa/program/program_parse_tab.[ch] with a custom command
../../src/mesa/program/program_parse.y:131.1-12: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?pure-parser鈥濓紝搴斾娇鐢?鈥?de
131 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/mesa/program/program_parse.y:135.1-14: 璀﹀憡: 宸插純鐢ㄧ殑鎸囦护锛氣€?error-verbose鈥濓紝搴斾娇鐢?鈥?precated]
135 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
After fix:
[376/1438] Generating src/compiler/glsl/glcpp/glcpp-parse.[ch] with a custom command
../../src/compiler/glsl/glcpp/glcpp-parse.y:176.1-12: 警告: 已弃用的指令:“%pure-parser”,应使用 “%define api.pure”
[-Wdeprecated]
176 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/compiler/glsl/glcpp/glcpp-parse.y:177.1-14: 警告: 已弃用的指令:“%error-verbose”,应使用 “%define parse.error verbose” [-Wdeprecated]
177 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
../../src/compiler/glsl/glcpp/glcpp-parse.y: 警告: fix-its can be applied. Rerun with option '--update'. [-Wother]
[393/1438] Generating src/compiler/glsl/glsl_parser with a custom command
../../src/compiler/glsl/glsl_parser.yy:84.1-12: 警告: 已弃用的指令:“%pure-parser”,应使用 “%define api.pure” [-Wdeprecated]
84 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/compiler/glsl/glsl_parser.yy:85.1-14: 警告: 已弃用的指令:“%error-verbose”,应使用 “%define parse.error verbose” [-Wdeprecated]
85 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
../../src/compiler/glsl/glsl_parser.yy: 警告: fix-its can be applied. Rerun with option '--update'. [-Wother]
[403/1438] Generating src/compiler/glsl/glsl_lexer_cpp with a custom command
[614/1438] Generating src/mesa/program/mesa_lex with a custom command
[618/1438] Generating src/mesa/program/program_parse_tab.[ch] with a custom command
../../src/mesa/program/program_parse.y:131.1-12: 警告: 已弃用的指令:“%pure-parser”,应使用 “%define api.pure” [-Wdeprecated]
131 | %pure-parser
| ^~~~~~~~~~~~
| %define api.pure
../../src/mesa/program/program_parse.y:135.1-14: 警告: 已弃用的指令:“%error-verbose”,应使用 “%define parse.error verbose” [-Wdeprecated]
135 | %error-verbose
| ^~~~~~~~~~~~~~
| %define parse.error verbose
../../src/mesa/program/program_parse.y: 警告: fix-its can be applied. Rerun with option '--update'. [-Wother]
Signed-off-by: Yonggang Luo luoyonggang@gmail.com