[vlc-devel] commit: xcb_screen: fix compilation by ignoring errors for a type of warnings ( Rafaël Carré )

git version control git at videolan.org
Mon Aug 31 22:54:15 CEST 2009


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Mon Aug 31 22:53:23 2009 +0200| [c4cb6db2105eda79b29410fd900b351d4c94c751] | committer: Rafaël Carré 

xcb_screen: fix compilation by ignoring errors for a type of warnings

The warning that my gcc 4.4.1 doesn't point a real error

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

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

diff --git a/configure.ac b/configure.ac
index df14dbb..3e9f2dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3543,6 +3543,7 @@ AS_IF([test "${enable_xcb}" != "no"], [
   PKG_CHECK_MODULES(XCB_SHM, [xcb-shm])
   VLC_ADD_PLUGIN([xcb_x11])
   VLC_ADD_PLUGIN([xcb_screen])
+  VLC_SET_CFLAGS_WERROR([xcb_screen], [-Wno-error=uninitialized]) # some gcc report a warning which doesn't reveal an error
 
   AS_IF([test "${enable_xvideo}" != "no"], [
     PKG_CHECK_MODULES(XCB_XV, [xcb-xv >= 1.1.90.1], [




More information about the vlc-devel mailing list