Re: [PATCH] target/hexagon: suppress unused variable warning

2022-12-21 Thread Richard Henderson
On 12/21/22 07:43, Taylor Simpson wrote: --- a/target/hexagon/idef-parser/idef-parser.y +++ b/target/hexagon/idef-parser/idef-parser.y @@ -99,6 +99,8 @@ /* Input file containing the description of each hexagon instruction */ input : instructions { + // Suppress warning about

RE: [PATCH] target/hexagon: suppress unused variable warning

2022-12-21 Thread Taylor Simpson
> -Original Message- > From: Alessandro Di Federico > Sent: Wednesday, December 21, 2022 4:03 AM > To: qemu-devel@nongnu.org > Cc: Philippe Mathieu-Daudé ; Taylor Simpson > ; Anton Johansson ; Alessandro Di > Federico > Subject: [PATCH] target/hexagon: suppress

Re: [PATCH] target/hexagon: suppress unused variable warning

2022-12-21 Thread Philippe Mathieu-Daudé
On 21/12/22 11:02, Alessandro Di Federico wrote: This patch manually suppresses a warning for an unused variable (yynerrs) emitted by bison. This warning has been triggered for the first time by clang 15. This patch also disables `-Wextra`, which is not usually adopted in QEMU. However, clang 1

[PATCH] target/hexagon: suppress unused variable warning

2022-12-21 Thread Alessandro Di Federico via
This patch manually suppresses a warning for an unused variable (yynerrs) emitted by bison. This warning has been triggered for the first time by clang 15. This patch also disables `-Wextra`, which is not usually adopted in QEMU. However, clang 15 triggers the warning fixed in this patch even in