From e5e01ee43b8e5c59d9cf2c7348ab6641fb9841b5 Mon Sep 17 00:00:00 2001
From: Andreas Romeyke <art1@andreas-romeyke.de>
Date: Tue, 23 Aug 2022 13:35:45 +0200
Subject: [PATCH] - Warnings should abort compilation

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 694122e..dcdf89f 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ SLUBStoragePlugin.jar: $(OBJS)
 	@cd build; ${JAVAPATH}/jar cfvM ../$@ ./* ; cd ..
 
 %.class: %.java
-	${JAVAPATH}/javac -classpath ${CLASSPATH}:${JUNITCLASSPATH} -Xlint:all $< 
+	${JAVAPATH}/javac -classpath ${CLASSPATH}:${JUNITCLASSPATH} -Xlint:all -Werror $< 
 
 doc: $(SOURCES)
 	javadoc -d doc/ $^
-- 
GitLab