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?a=commitdiff_plain;h=fd1bc30a27cde14a68b06f778487705bc5c19b2c;p=pintos-anon 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