[vlc-devel] Re: Compiling with visual studio 2005

leechangu at mac.com leechangu at mac.com
Wed Dec 27 11:40:18 CET 2006


Standard C recently extended to support dynamic array, but I can't  
convince that it's available on MS visual C++ 2005.

2006. 12. 21, 오후 7:56, Mortisandraco 작성:

> Hi,
>
> I've downloaded the sources and started to make project files for  
> visual studio 2005. At the moment I'm able to compile libvlc, vlc,  
> and the wxwidgets plugin. When I run it the window comes up and the  
> menu's appear to work (so the plugin loading also works). I was  
> wondering if you guys would be interested in the project files and  
> what code changes I had to do to make it work.
>
> For example, in libvlc there are a couple of times you used  
> something like:
> void foo(int i)
> {
>  char array[i];
> ...
>
> I need to look it up but I don't think that's possible in the c  
> standard. Currently I'm at the download limit of my provider so I  
> can't download cygwin to check with gcc (--pedantic IIRC). I  
> changed the code to
> char* array = malloc(i * sizeof(char));
> ..
> free(array);
>
> etc, all are relatively minor issues.
>
> Let me know what you guys think about it.
>
>
>
>
> _____________________________________________________________
> Get your FREE, LinuxWaves.com Email Now! --> http://www.LinuxWaves.com
> Join Linux Discussions! --> http://Community.LinuxWaves.com
>
> -- 
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20061227/a81d5020/attachment.bin>


More information about the vlc-devel mailing list