Skip to content
Snippets Groups Projects
Commit 907440d9 authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[make] enable more warnings

Turns out that some warnings are only emitted with `-O1`...
parent d6e3a855
No related branches found
No related tags found
No related merge requests found
......@@ -53,9 +53,9 @@ OBJS=\
DEPS=$(OBJS:.o=.d)
CXXFLAGS?=$(CLANG_CXXFLAGS)
CXXFLAGS+=-DCLANG_BIN_DIR=\"$(CLANG_BIN_DIR)\" \
-Wall -Wno-comment -Wno-enum-compare
-O1 -Wall -Wno-comment -Wno-enum-compare
CFLAGS?=$(CLANG_CFLAGS)
CFLAGS+=-Wno-enum-compare
CFLAGS+=-O1 -Wno-enum-compare
# enabling non-null assertions for AST construction would require
# some refactoring in RTTITable.cpp. Still TODO at this point.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment