From b12f1539a4ef8b22f717d9a20e5b2c969fcdd851 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 16 Feb 2014 10:43:17 +0100 Subject: [PATCH] Add -Wextra -Werror to all C code Not only the security-critical one. --- qmemman/Makefile | 2 +- qrexec-lib/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qmemman/Makefile b/qmemman/Makefile index 2c1da6a..59e485a 100644 --- a/qmemman/Makefile +++ b/qmemman/Makefile @@ -1,5 +1,5 @@ CC=gcc -CFLAGS=-Wall -g -O3 +CFLAGS=-Wall -Wextra -Werror -g -O3 all: meminfo-writer meminfo-writer: meminfo-writer.o $(CC) -g -o meminfo-writer meminfo-writer.o -lxenstore diff --git a/qrexec-lib/Makefile b/qrexec-lib/Makefile index ea840ea..9130b4b 100644 --- a/qrexec-lib/Makefile +++ b/qrexec-lib/Makefile @@ -1,5 +1,5 @@ CC=gcc -CFLAGS+=-I. -g -Wall -pie -fPIC -Wextra +CFLAGS+=-I. -g -Wall -Wextra -Werror -pie -fPIC XENLIBS=-lxenctrl -lxenstore -lvchan COMMONIOALL=ioall.o SO_VER=1