[vlc-devel] commit: Yum, abusing private headers ( Rémi Denis-Courmont )

xxcv xxcv07 at gmail.com
Sun Apr 26 12:09:52 CEST 2009


git version control wrote:
> vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 26 11:45:06 2009 +0300| [6d43981817d0d4173efceafd42eaf40d585fd059] | committer: Rémi Denis-Courmont 
>
> Yum, abusing private headers
>
>   
>> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d43981817d0d4173efceafd42eaf40d585fd059
>>     
> ---
>   



In file included from bda.c:32:
../../../include/vlc_plugin.h:32: error: expected declaration specifiers 
or '...' before 'vlc_plugin_set'
../../../include/vlc_plugin.h:32: error: expected declaration specifiers 
or '...' before '(' token
../../../include/vlc_plugin.h:32: warning: data definition has no type 
or storage class
../../../include/vlc_plugin.h:32: warning: type defaults to 'int' in 
declaration of 'VLC_EXPORT'
bda.c: In function 'vlc_entry__1_0_0e':
bda.c:193: error: implicit declaration of function 'vlc_plugin_set'
bda.c: In function 'Open':
bda.c:366: warning: embedded '\0' in format
bda.c: In function 'ParsePath':
bda.c:512: warning: embedded '\0' in format
bda.c: In function 'Control':
bda.c:544: warning: unused variable 'pi_int'
make[7]: *** [libbda_plugin_la-bda.lo] Error 1



>  src/Makefile.am                        |    3 +--
>  src/control/mediacontrol_audio_video.c |    1 +
>  src/control/playlist.c                 |    1 +
>  3 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index a3e732a..059b4d4 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -174,8 +174,7 @@ libvlc_win32_rc.$(OBJEXT): $(top_builddir)/share/libvlc_win32_rc.rc
>  libvlc_la_SOURCES = $(SOURCES_libvlc_control)
>  libvlc_la_LIBADD = `$(VLC_CONFIG) -libs libvlc` \
>  	libvlccore.la ../compat/libcompat.la
> -libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc` \
> -	-DMODULE_STRING=\"control\"
> +libvlc_la_CFLAGS = `$(VLC_CONFIG) --cflags libvlc`
>  libvlc_la_LDFLAGS = $(AM_LDFLAGS) `$(VLC_CONFIG) --ldflags libvlc` \
>  	-version-info 4:0:2 \
>  	-export-symbols $(srcdir)/libvlc.sym
> diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c
> index 7647538..4cc984f 100644
> --- a/src/control/mediacontrol_audio_video.c
> +++ b/src/control/mediacontrol_audio_video.c
> @@ -40,6 +40,7 @@
>  #include <errno.h>                                                 /* ENOMEM */
>  #include <stdio.h>
>  #include <ctype.h>
> +#define __LIBVLC__ /* WTF? */
>  #include "../video_output/vout_control.h"
>  
>  #ifdef HAVE_UNISTD_H
> diff --git a/src/control/playlist.c b/src/control/playlist.c
> index 4f354ad..5e0ae92 100644
> --- a/src/control/playlist.c
> +++ b/src/control/playlist.c
> @@ -28,6 +28,7 @@
>  
>  #include <assert.h>
>  
> +#define __LIBVLC__
>  #include "../playlist/playlist_internal.h"
>  
>  #define PL (libvlc_priv (p_instance->p_libvlc_int)->p_playlist)
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090426/9c661a23/attachment.html>


More information about the vlc-devel mailing list