[vlc-devel] Re: Compile problem with wxwindows/playlist.cpp
Mats Rojestal
mats.rojestal at bredband.net
Wed Nov 17 19:47:34 CET 2004
Hi again,
The same code compiled fine with gcc 3.3.2 so its looks like gcc-3.4.2
is more picky about that nifty preprocessing coding style.
Regards Mats R
Mats Rojestal wrote:
> 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
>
--
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