[vlc-devel] Strange Header Problem Compiling for MS Visual C 6

Javawizard at aol.com Javawizard at aol.com
Tue Jan 27 15:52:38 CET 2004


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 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20040127/95024823/attachment.html>


More information about the vlc-devel mailing list