From: Manoel Trapier Date: Tue, 5 Mar 2013 15:23:04 +0000 (+0100) Subject: Force C89 and error on all warnings. X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7eff32c40d51d137d99f9154689317d5411441e5;p=ack.git Force C89 and error on all warnings. --- diff --git a/first/c.pm b/first/c.pm index 3fdd716bd..463222873 100644 --- a/first/c.pm +++ b/first/c.pm @@ -25,7 +25,7 @@ CXXPROGRAM = "%CXXCOMPILER% %CBUILDFLAGS% %CLINKFLAGS% %CEXTRAFLAGS% -o %out% %i CLIBRARY = "rm -f %out% && ar cr %out% %in% && ranlib %out%" -CBUILDFLAGS = {"-g"} +CBUILDFLAGS = {"-g", "-Werror", "-std=c89"} CINCLUDES = EMPTY CDEFINES = EMPTY CEXTRAFLAGS = EMPTY