diff --git a/Makefile b/Makefile
index 656bb67d36622858f3bc239b7d2c9e272d654377..fd255f37bf96c1f362404c9c64e08aa534d3ba5b 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ LIB_DESTDIR = lib
 CXX      = g++
 #Insert the optional parameter to the compiler. The CFLAGS could be changed externally by the user
 #- g3
-CFLAGS   = -O2 -m64 -fPIC -g
+CFLAGS   = -O2 -m64 -fPIC -g -Werror
 #-O2 -O0 -g3
 #Set INCPATH to add the inclusion paths
 INCPATH = -I ./include