Re: [Qemu-devel] [PATCH] Change variable "name" to avoid shadow warnings

2007-06-10 Thread Blue Swirl
On 6/10/07, Stefan Weil <[EMAIL PROTECTED]> wrote: Maybe it would be a good idea to add more warnings to the QEMU compiler options. The current option -Wall (in files Makefile.target, configure) does not activate all warnings. I think that especially -Wshadow should be added because code with sh

[Qemu-devel] [PATCH] Change variable "name" to avoid shadow warnings

2007-06-10 Thread Stefan Weil
Maybe it would be a good idea to add more warnings to the QEMU compiler options. The current option -Wall (in files Makefile.target, configure) does not activate all warnings. I think that especially -Wshadow should be added because code with shadowed variables is more difficult to read and mainta