[vlc-devel] Build's broken
Rafaël Carré
rafael.carre at gmail.com
Mon Aug 31 10:35:39 CEST 2009
On Mon, 31 Aug 2009 09:58:13 +0200
Pierre d'Herbemont <pdherbemont at gmail.com> wrote:
> On Aug 30, 2009, at 9:03 PM, Rafaël Carré wrote:
> > What can be done to have gcc not error out on these files?
>
> I think that VLC_SET_CFLAGS_WERROR([screen],[]) should do the trick.
> I am not sure if gcc will like VLC_SET_CFLAGS_WERROR([screen],[-Wno-
> error=uninitialized]), but it's worth trying.
That's what I was looking for, thanks
It looks broken though:
diff --git a/configure.ac b/configure.ac
index 3e4ddb0..e38fc2e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3549,6 +3549,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], [
checking for GL/glx.h... yes
../vlc/configure: line 38721: syntax error near unexpected token `('
../vlc/configure: line 38721: ` as_fn_error "Package requirements (xcb-xv) were not met:'
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090831/8860a8aa/attachment.sig>
More information about the vlc-devel
mailing list