Discussion:
[libdvdcss-devel] Add -Wextra compilation flags
Jean-Baptiste Kempf
2014-07-27 00:58:04 UTC
Permalink
libdvdcss | branch: master | Jean-Baptiste Kempf <***@videolan.org> | Sun Jul 27 02:55:59 2014 +0200| [e1af6503b36e503d6dd2d282f49e1edc5d29f762] | committer: Jean-Baptiste Kempf

Add -Wextra compilation flags
http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=e1af6503b36e503d6dd2d282f49e1edc5d29f762
---

configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 749870f..129f20b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,7 +213,7 @@ AC_CHECK_HEADERS(sys/ioctl.h,[
fi
])

-CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare])
+CC_CHECK_CFLAGS_APPEND([-Wall -Wsign-compare -Wextra])
CC_FLAG_VISIBILITY([
CC_ATTRIBUTE_VISIBILITY([default], [
CFLAGS="${CFLAGS} -fvisibility=hidden"

Loading...