summary refs log tree commit diff stats
path: root/linux-user/mips/target_resource.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2024-04-08 16:10:40 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2024-04-08 21:21:48 +0200
commit207a2baa16bc27ba5ac5f75893e7adab80df3476 (patch)
treef78cd6833f3c5f2a21ad8b01d8d27be10ccd617f /linux-user/mips/target_resource.h
parentd1ce2cc95b71f41860bdff6f81c333cec11eae80 (diff)
downloadfocaccia-qemu-207a2baa16bc27ba5ac5f75893e7adab80df3476.tar.gz
focaccia-qemu-207a2baa16bc27ba5ac5f75893e7adab80df3476.zip
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 'linux-user/mips/target_resource.h')
0 files changed, 0 insertions, 0 deletions