ref: 47e0efd74817d573f6e2c2cf215db1b535968624
parent: d8762759774d667becfaca6c3054531cfa921b35
author: Marshall Banana <djcj@gmx.de>
date: Sun May 3 03:22:13 EDT 2015
Add -Wno-maybe-uninitialized -Wno-unused-result to CFLAGS
--- a/configure.ac
+++ b/configure.ac
@@ -29,7 +29,8 @@
])
dnl Compiler flags
-CFLAGS_WARNINGS="-Wall -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast -Wno-parentheses -Wno-unused-but-set-variable -Wno-unused-function"
+CFLAGS_WARNINGS="-Wall -Wno-pointer-sign -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast \
+-Wno-parentheses -Wno-maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-result"
CFLAGS="${CFLAGS_WARNINGS} -DPLATFORM_UNIX $(pkg-config --cflags SDL_mixer) ${CFLAGS}"
LDFLAGS="$(pkg-config --libs sdl) $(pkg-config --libs SDL_mixer) ${LDFLAGS}"