[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] Change variable "name" to avoid shadow warnings
Date: Sun, 10 Jun 2007 20:17:02 +0300

On 6/10/07, Stefan Weil <address@hidden> 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 shadowed variables is more difficult to read and maintain
(and potentially contains more bugs).

I'd vote for -Wcast-align, but I'd be happy with any stricter set of warnings.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]