Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BjPij-0000bG-CN for qemu-devel@nongnu.org; Sat, 10 Jul 2004 17:49:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BjPih-0000an-Eq for qemu-devel@nongnu.org; Sat, 10 Jul 2004 17:49:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BjPig-0000aJ-9y for qemu-devel@nongnu.org; Sat, 10 Jul 2004 17:49:19 -0400 Received: from [130.136.10.114] (helo=pob.cs.unibo.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BjPfz-00054p-Pa for qemu-devel@nongnu.org; Sat, 10 Jul 2004 17:46:32 -0400 Date: Sat, 10 Jul 2004 23:46:25 +0200 Subject: Re: [Qemu-devel] cvs cpu-exec.c (bug?) Message-ID: <20040710214625.GB1838@cs.unibo.it> References: <20040709231808.GA17856@jbrown.mylinuxbox.org> <20040710012734.GA19388@jbrown.mylinuxbox.org> <40F00124.5010902@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40F00124.5010902@bellard.org> From: renzo@cs.unibo.it (Renzo Davoli) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I have just returned from a conference and I have just checked out the latest version from the cvs. My compiler refused to compile the cpu-exec.c without the following trivial patch, in line 906: int cpu_signal_handler(int host_signum, struct siginfo *info, > void *puc) the keyword "struct" is missing defining the argument named info. Maybe several other compilers have the implicit typedef on structs and give either no error or just a warning. For the sake of portability (and consistency, siginfo is always named as "struct" in the remaining of the code) I feel it should be better to fix it. Thanks. Ciao. renzo