瀏覽代碼

gcc: treat warnings as errors

Fabian Peter Hammerle 6 年之前
父節點
當前提交
87bd1679db
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 $^