Commit 9d80d52f authored by Jean-Paul Saman's avatar Jean-Paul Saman

configure.ac: add -Werror

Raise warnings to error level and break compilation.
parent 88c4dada
...@@ -16,7 +16,7 @@ AM_PROG_LIBTOOL ...@@ -16,7 +16,7 @@ AM_PROG_LIBTOOL
dnl default CFLAGS dnl default CFLAGS
CFLAGS="${CFLAGS} -Wall -DDVBPSI_DIST --std=gnu99" CFLAGS="${CFLAGS} -Wall -Werror -DDVBPSI_DIST --std=gnu99"
CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" CFLAGS="${CFLAGS} -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare"
dnl check the operating system dnl check the operating system
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment