From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L9P6C-00076h-3P for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:15:24 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L9P6B-000769-5H for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:15:23 -0500 Received: from [199.232.76.173] (port=34253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L9P6A-000760-RR for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:15:23 -0500 Received: from savannah.gnu.org ([199.232.41.3]:44207 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L9P6A-0000Rd-MN for qemu-devel@nongnu.org; Sun, 07 Dec 2008 14:15:22 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1L9P69-00010N-1H for qemu-devel@nongnu.org; Sun, 07 Dec 2008 19:15:21 +0000 Received: from blueswir1 by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1L9P67-00010C-GI for qemu-devel@nongnu.org; Sun, 07 Dec 2008 19:15:20 +0000 MIME-Version: 1.0 Errors-To: blueswir1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Blue Swirl Message-Id: Date: Sun, 07 Dec 2008 19:15:19 +0000 Subject: [Qemu-devel] [5929] Enable gcc flag -Wmissing-prototypes 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 Revision: 5929 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5929 Author: blueswir1 Date: 2008-12-07 19:15:17 +0000 (Sun, 07 Dec 2008) Log Message: ----------- Enable gcc flag -Wmissing-prototypes Modified Paths: -------------- trunk/Makefile.target trunk/configure Modified: trunk/Makefile.target =================================================================== --- trunk/Makefile.target 2008-12-07 19:13:12 UTC (rev 5928) +++ trunk/Makefile.target 2008-12-07 19:15:17 UTC (rev 5929) @@ -73,7 +73,7 @@ # We require -O2 to avoid the stack setup prologue in EXIT_TB OP_CFLAGS := -O2 -g -fno-strict-aliasing -OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings +OP_CFLAGS += -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes # cc-option # Usage: OP_CFLAGS+=$(call cc-option, -falign-functions=0, -malign-functions=0) Modified: trunk/configure =================================================================== --- trunk/configure 2008-12-07 19:13:12 UTC (rev 5928) +++ trunk/configure 2008-12-07 19:15:17 UTC (rev 5929) @@ -381,7 +381,7 @@ # default flags for all hosts CFLAGS="$CFLAGS -O2 -g -fno-strict-aliasing" -CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings" +CFLAGS="$CFLAGS -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes" LDFLAGS="$LDFLAGS -g" if test "$werror" = "yes" ; then CFLAGS="$CFLAGS -Werror"