[DVDnav-discuss] Detect -Wall -Wextra CFLAGS

Jean-Baptiste Kempf git at videolan.org
Sun Jul 27 01:44:24 CEST 2014


libdvdnav | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jul 27 01:43:54 2014 +0200| [a159bedd9b5de6f03873ddc7eb9f3c869fe42389] | committer: Jean-Baptiste Kempf

Detect -Wall -Wextra CFLAGS

> http://git.videolan.org/gitweb.cgi/libdvdnav.git/?a=commit;h=a159bedd9b5de6f03873ddc7eb9f3c869fe42389
---

 configure.ac |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure.ac b/configure.ac
index 3d6ae72..ca8b2fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,6 +101,9 @@ dnl Check for bitfield compiler flag
 dnl ---------------------------------------------
 CC_CHECK_CFLAG_APPEND([-mno-ms-bitfields])
 
+dnl check for -Wall -Wextra support
+CC_CHECK_CFLAG_APPEND([-Wall -Wsign-compare -Wextra])
+
 dnl ---------------------------------------------
 dnl Check for doxygen (dynamic documentation generator)
 dnl ---------------------------------------------



More information about the DVDnav-discuss mailing list