Skip to content

Commit

Permalink
libvisual/configure.ac: Add -Werror on CI=true
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Dec 23, 2024
1 parent b901060 commit da4997b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions libvisual/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,16 @@ OPT_CFLAGS="-mwindows"
fi
AC_SUBST(OPT_CFLAGS)

AS_IF([test "x${CI}" = xtrue], [
CFLAGS="${CFLAGS} -Werror"
CFLAGS="${CFLAGS} -Wno-error=maybe-uninitialized" # TODO: drop line after fixing!
CFLAGS="${CFLAGS} -Wno-error=missing-prototypes" # TODO: drop line after fixing!
CFLAGS="${CFLAGS} -Wno-error=return-type" # TODO: drop line after fixing!
CFLAGS="${CFLAGS} -Wno-error=uninitialized" # TODO: drop line after fixing!
CFLAGS="${CFLAGS} -Wno-error=unknown-warning-option" # TODO: drop line after fixing!
CFLAGS="${CFLAGS} -Wno-error=unused-function" # TODO: drop line after fixing!
])

AC_SUBST(CFLAGS, "${CFLAGS} ${DEBUG_CFLAGS} ${OPT_CFLAGS}")

libs_dynamic_loader="-ldl"
Expand Down

0 comments on commit da4997b

Please sign in to comment.