From: Ben Pfaff Date: Wed, 21 Dec 2005 23:48:57 +0000 (+0000) Subject: Use -Wdeclaration-after-statement. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pintos-anon;a=commitdiff_plain;h=8d59042da241701a5167acd38b08217977a93138 Use -Wdeclaration-after-statement. --- diff --git a/src/Make.config b/src/Make.config index b1d480e..fdf6ce1 100644 --- a/src/Make.config +++ b/src/Make.config @@ -24,7 +24,8 @@ endif # Compiler and assembler invocation. DEFINES = -WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers +WARNINGS = -Wall -W -Wstrict-prototypes -Wmissing-prototypes -Wsystem-headers \ + -Wdeclaration-after-statement CFLAGS = -g -MMD -msoft-float CPPFLAGS = -nostdinc -I$(SRCDIR) -I$(SRCDIR)/lib ASFLAGS = -Wa,--gstabs -MMD