[vlc-commits] Enable compilation warnings on C++

Rémi Denis-Courmont git at videolan.org
Sat May 14 12:53:59 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 14 13:53:45 2011 +0300| [ddd308dc9ec7cbd0742992065487ee220a79ea0a] | committer: Rémi Denis-Courmont

Enable compilation warnings on C++

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

 configure.ac |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index ad85ffe..c1a7b63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -962,6 +962,9 @@ dnl
 
 RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast write-strings missing-prototypes volatile-register-var error-implicit-function-declaration])
 RDC_PROG_CC_FLAGS([-pipe])
+AC_LANG_PUSH([C++])
+RDC_PROG_CXX_WFLAGS([all extra sign-compare undef pointer-arith volatile-register-var])
+AC_LANG_POP([C++])
 
 dnl
 dnl  Debugging mode



More information about the vlc-commits mailing list