diff build/linux/Makefile.linux64 @ 178:f96ea0e4b475

Fix compiler warnings with -Wall -Wextra
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 28 Sep 2015 12:33:17 +0100
parents 150504da8944
children 12daefe5e6f1
line wrap: on
line diff
--- a/build/linux/Makefile.linux64	Tue Sep 08 17:32:03 2015 +0100
+++ b/build/linux/Makefile.linux64	Mon Sep 28 12:33:17 2015 +0100
@@ -1,6 +1,6 @@
 
-CFLAGS += -DNDEBUG -O3 -fno-exceptions -fPIC -ffast-math -msse -msse2 -mfpmath=sse -ftree-vectorize -DUSE_PTHREADS
-#CFLAGS += -DDEBUG -g -fno-exceptions -fPIC -ffast-math -DUSE_PTHREADS
+#CFLAGS += -DNDEBUG -O3 -fno-exceptions -fPIC -ffast-math -msse -msse2 -mfpmath=sse -ftree-vectorize -DUSE_PTHREADS
+CFLAGS += -DDEBUG -g -fno-exceptions -Wall -Wextra -Werror -fPIC -ffast-math -DUSE_PTHREADS
 
 CXXFLAGS += $(CFLAGS)