]> git.sesse.net Git - vlc/commitdiff
xcb_screen: fix compilation by ignoring errors for a type of warnings
authorRafaël Carré <rafael.carre@gmail.com>
Mon, 31 Aug 2009 20:53:23 +0000 (22:53 +0200)
committerRafaël Carré <rafael.carre@gmail.com>
Mon, 31 Aug 2009 20:54:13 +0000 (22:54 +0200)
The warning that my gcc 4.4.1 doesn't point a real error

configure.ac

index df14dbb126a5dfcf3eae0b802aebbe08c7aca429..3e9f2dd5df5115ddb52ca0dcbd032a14aedf4471 100644 (file)
@@ -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], [