From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLaBv-0006Nu-Pd for qemu-devel@nongnu.org; Tue, 30 Jun 2009 06:03:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLaBq-0006I3-Li for qemu-devel@nongnu.org; Tue, 30 Jun 2009 06:03:54 -0400 Received: from [199.232.76.173] (port=41423 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLaBq-0006Hp-Dj for qemu-devel@nongnu.org; Tue, 30 Jun 2009 06:03:50 -0400 Received: from mx2.redhat.com ([66.187.237.31]:50831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLaBp-0008QD-PJ for qemu-devel@nongnu.org; Tue, 30 Jun 2009 06:03:50 -0400 Message-ID: <4A49E365.40307@redhat.com> Date: Tue, 30 Jun 2009 13:05:25 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] buildfix: unknown option "-Wno-error=uninitialized" References: <200906301115.34111.Christoph.Egger@amd.com> In-Reply-To: <200906301115.34111.Christoph.Egger@amd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoph Egger Cc: qemu-devel@nongnu.org On 06/30/2009 12:15 PM, Christoph Egger wrote: > diff --git a/rules.mak b/rules.mak > index defee1d..8561289 100644 > --- a/rules.mak > +++ b/rules.mak > @@ -1,6 +1,6 @@ > > %.o: %.c > - $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -Werror -Wno-error=uninitialized -c -o $@ $<," CC $(TARGET_DIR)$@") > + $(call quiet-command,$(CC) $(CPPFLAGS) $(CFLAGS) -Werror -c -o $@ $<," CC $(TARGET_DIR)$@") > > %.o: %.S > $(call quiet-command,$(CC) $(CPPFLAGS) -c -o $@ $<," AS $(TARGET_DIR)$@") > > Should remove the -Werror too, it's set by ./configure. -- error compiling committee.c: too many arguments to function