From e9426948fae1e8f2513972b17d42ee7e0427a4f9 Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Tue, 18 Jan 2011 16:28:42 +0000 Subject: [PATCH] - Added extra compiler warnings by default --- library/Makefile | 2 +- programs/Makefile | 2 +- tests/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/Makefile b/library/Makefile index a23904d57..8b59114c9 100644 --- a/library/Makefile +++ b/library/Makefile @@ -1,7 +1,7 @@ # Also see "include/polarssl/config.h" -CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement +CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement OFLAGS = -O # MicroBlaze specific options: diff --git a/programs/Makefile b/programs/Makefile index 7ddc4c57d..696ba176e 100644 --- a/programs/Makefile +++ b/programs/Makefile @@ -3,7 +3,7 @@ # To compile on MinGW: add "-lws2_32" to LDFLAGS # To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS -CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement +CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement OFLAGS = -O LDFLAGS = -L../library -lpolarssl diff --git a/tests/Makefile b/tests/Makefile index aacdcba53..af4a7c420 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,7 +3,7 @@ # To compile on MinGW: add "-lws2_32" to LDFLAGS # To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS -CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement \ +CFLAGS = -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement \ -Wno-unused-function -Wno-unused-value OFLAGS = -O