[vlc-devel] Re: Strange Header Problem Compiling for MS Visual C 6
Sigmund Augdal
sigmunau at stud.ntnu.no
Tue Jan 27 16:07:53 CET 2004
Several problems with compiling on VC++ has been found since 0.7.0 was
released. Try to get a current snapshot, or the sources from cvs.
Sigmund
On Tue, Jan 27, 2004 at 09:52:38AM -0500, Javawizard at aol.com wrote:
> Hi Folks,
> I???ve found a Microsoft VC workspace and project file for VLC 0.7.0 in the
> \msvc folder. I loaded the project and tried to compile. Got this error:
>
> Compiling...
> libvlc.c
> c:\junk\vlc\vlc-0.7.0\src\libvlc.h(931) : error C2059: syntax error : '{'
>
> It seems to resolve to a complex macro in modules_inner.h:
>
> #define vlc_module_end( )
> \
> p_submodule->pp_shortcuts[ i_shortcut ] = NULL;
> \
> }
> \
> if( p_config )
> \
> {
> \
> p_config[ ++i_config ] = (module_config_t){ CONFIG_HINT_END };
> \
> config_Duplicate( p_module, p_config );
> \
> free( p_config );
> \
> }
> \
> else config_Duplicate(p_module, &(module_config_t){CONFIG_HINT_END});
> \
> if( p_module->p_config == NULL )
> \
> {
> \
> return VLC_EGENERIC;
> \
> }
> \
> return VLC_SUCCESS && i_shortcut;
> \
> }
> \
> struct _u_n_u_s_e_d_ /* the ; gets added */
>
> Can anyone tell me what to do?
> Thanks very much,
> - Jeff Napier
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel
mailing list