chiark / gitweb /
cleanup: Turn on -Werror
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 11 Jun 2011 11:16:33 +0000 (12:16 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 26 Jun 2011 11:07:26 +0000 (12:07 +0100)
Having cleaned up the code to be warning-free we can now turn on -Werror.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Makefile.in

index 52aaaa59752651c783cb5c1c65df0897c7e76b54..630ff2d9ff02a8a7a116cb15632eea90fea8ffe7 100644 (file)
@@ -34,7 +34,7 @@ INSTALL_PROGRAM:=@INSTALL_PROGRAM@
 # Use -DHACKY_PARALLEL if you are compiling secnet for an extremely
 # slow machine
 #CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -DHACKY_PARALLEL
-CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ \
+CFLAGS:=-Wall @WRITESTRINGS@ @CFLAGS@ -Werror \
        -W -Wno-unused \
        -Wno-pointer-sign -Wstrict-prototypes -Wmissing-prototypes \
        -Wmissing-declarations -Wnested-externs -Wredundant-decls \