On 10/06/2010 11:34 PM, Blue Swirl wrote:
Compiling with GCC 4.6.0 20100925 produced a lot of warnings like: /src/qemu/target-mips/translate.c: In function 'gen_ld': /src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set but not used [-Werror=unused-but-set-variable]Fix by making the variable declarations and uses conditional to debugging.
What about a set_opn macro instead of this one-off "D" idiom? Paolo