Older clang had -Wmissing-variable-declarations, which causes a heap of warnings, we disable it, because it's a stupid warning. However, because it's unsupported in newer clang, disabling it causes a warning, so we need to -Wno-unknown-warning-option. *sigh*

This commit is contained in:
Dale Weiler 2013-01-30 06:52:36 +00:00
parent 5f9f6c11b8
commit 9fffb3441c

View file

@ -24,7 +24,9 @@ ifeq ($(CC), clang)
-Wno-conversion \ -Wno-conversion \
-Wno-missing-prototypes \ -Wno-missing-prototypes \
-Wno-float-equal \ -Wno-float-equal \
-Wno-cast-align -Wno-cast-align \
-Wno-missing-variable-declarations \
-Wno-unknown-warning-option
else else
#Tiny C Compiler doesn't know what -pedantic-errors is #Tiny C Compiler doesn't know what -pedantic-errors is
# and instead of ignoring .. just errors. # and instead of ignoring .. just errors.