Explorar el Código

gcc: treat warnings as errors

Fabian Peter Hammerle hace 6 años
padre
commit
87bd1679db
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -3,7 +3,7 @@ SOURCES = *.c
 .PHONY = format
 
 rgpgfs : $(SOURCES)
-	gcc -Wall $^ $(shell pkg-config fuse3 --cflags --libs) -o $@
+	gcc -Wall -Werror $^ $(shell pkg-config fuse3 --cflags --libs) -o $@
 
 format : $(SOURCES)
 	clang-format -i -verbose $^