소스 검색

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 $^