]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Older clang had -Wmissing-variable-declarations, which causes a heap of warnings...
authorDale Weiler <killfieldengine@gmail.com>
Wed, 30 Jan 2013 06:52:36 +0000 (06:52 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 30 Jan 2013 06:52:36 +0000 (06:52 +0000)
Makefile

index 6e6c9452ff8ce26b6e70f89442b0cb9feef17103..25828d1546fedae0299792f83cb3c47087e28f04 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -16,15 +16,17 @@ endif
 #turn on tons of warnings if clang is present
 # but also turn off the STUPID ONES
 ifeq ($(CC), clang)
-       CFLAGS +=                         \
-               -Weverything                  \
-               -Wno-padded                   \
-               -Wno-format-nonliteral        \
-               -Wno-disabled-macro-expansion \
-               -Wno-conversion               \
-               -Wno-missing-prototypes       \
-               -Wno-float-equal              \
-               -Wno-cast-align
+       CFLAGS +=                              \
+               -Weverything                       \
+               -Wno-padded                        \
+               -Wno-format-nonliteral             \
+               -Wno-disabled-macro-expansion      \
+               -Wno-conversion                    \
+               -Wno-missing-prototypes            \
+               -Wno-float-equal                   \
+               -Wno-cast-align                    \
+               -Wno-missing-variable-declarations \
+               -Wno-unknown-warning-option
 else
        #Tiny C Compiler doesn't know what -pedantic-errors is
        # and instead of ignoring .. just errors.