diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-08 16:10:40 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-04-08 21:21:48 +0200 |
commit | 207a2baa16bc27ba5ac5f75893e7adab80df3476 (patch) | |
tree | f78cd6833f3c5f2a21ad8b01d8d27be10ccd617f /scripts/qapi/parser.py | |
parent | d1ce2cc95b71f41860bdff6f81c333cec11eae80 (diff) | |
download | qemu-207a2baa16bc27ba5ac5f75893e7adab80df3476.zip qemu-207a2baa16bc27ba5ac5f75893e7adab80df3476.tar.gz qemu-207a2baa16bc27ba5ac5f75893e7adab80df3476.tar.bz2 |
nanomips: fix warnings with GCC 14
GCC 14 shows -Wshadow=local warnings if an enum conflicts with a local
variable (including a parameter). To avoid this, move the problematic
enum and all of its dependencies after the hundreds of functions that
have a parameter named "instruction".
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions