Skip to content

Commit 5806b2f

Browse files
committed
libvisual/configure.ac: Add -Werror on CI=true
1 parent b901060 commit 5806b2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libvisual/configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,12 @@ OPT_CFLAGS="-mwindows"
520520
fi
521521
AC_SUBST(OPT_CFLAGS)
522522

523+
AS_IF([test "x${CI}" = xtrue], [
524+
CFLAGS="${CFLAGS} -Werror"
525+
CFLAGS="${CFLAGS} -Wno-error=uninitialized" # TODO: drop line after fixing!
526+
CFLAGS="${CFLAGS} -Wno-error=unused-function" # TODO: drop line after fixing!
527+
])
528+
523529
AC_SUBST(CFLAGS, "${CFLAGS} ${DEBUG_CFLAGS} ${OPT_CFLAGS}")
524530

525531
libs_dynamic_loader="-ldl"

0 commit comments

Comments
 (0)