Browse Source

Add -Werror to compilation flags

If they come from your own code, warnings are errors,
don't trust who says otherwise.
Enrico Guiraud 7 months ago
parent
commit
0ac39fe9b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      makefile

+ 1 - 1
makefile

@@ -1,6 +1,6 @@
 #MACROS
 
-CXX_FLAGS := -O3 -Wall -Wextra -Wpedantic
+CXX_FLAGS := -O3 -Wall -Wextra -Wpedantic -Werror
 
 LIBS := -lncurses -pthread -ltinfo