[vlc-devel] Compile problem with wxwindows/playlist.cpp

Mats Rojestal mats.rojestal at bredband.net
Wed Nov 17 14:31:15 CET 2004


Hi,

I get this compile error from playlist.cpp in latest svn.

playlist.cpp: In member function `wxMenu* wxvlc::Playlist::SDMenu()':
playlist.cpp:1384: error: ISO C++ forbids cast to non-reference type 
used as lvalue
playlist.cpp:1384: error: ISO C++ forbids cast to non-reference type 
used as lvalue
playlist.cpp:1384: warning: statement has no effect
playlist.cpp:1361: warning: unused variable 'val'
playlist.cpp:1361: warning: unused variable 'val_list'
playlist.cpp:1361: warning: unused variable 'text_list'
gmake[6]: *** [libwxwindows_plugin_a-playlist.o] Error 1


This is the failing line:

             INSERT_ELEM( (void**)pp_sds, i_number, 		 
         			 (void*)p_parser->psz_shortname );


My gcc version is 3.4.2

Help


Regards Mats Röjestål

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list