[vlc] Re: vlc 0.6.0 compilation problem
Richard Stevenson
richard at alternativeuniverse.net
Wed Jul 16 13:18:55 CEST 2003
Hi
On Wed, 16 Jul 2003, Holger Kummert wrote:
> On Wed, 16 Jul 2003 22:11:45 +1200 (NZST) Richard Stevenson <richard at alternativeuniverse.net> wrote:
> RS> Menu::CreateChoicesMenu(char *, vlc_object_t *)':
> RS> modules/gui/wxwindows/menus.cpp:521: ambiguous overload for `char *& ?
> RS> char *& : wxString'
> RS> modules/gui/wxwindows/menus.cpp:521: candidates are: operator ?:(bool,
> RS> wxString, wxString) <builtin>
> RS> modules/gui/wxwindows/menus.cpp:521: operator ?:(bool,
> [...]
>
> I got the same compilation problem on Linux 2.4.19 and solved it
> by changing the source code in /modules/gui/wxwindows/menus.cpp:515 from
>
> wxU(text_list.p_list->p_values[i].psz_string):
> to
> (wxString)wxU(text_list.p_list->p_values[i].psz_string):
Many thanks for that. Now I get an internal compiler error. Sigh. Using
the Debian-supplied GCC:
richard at raphael:~/compile/vlc-0.6.0$ gcc -v
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
I've got current security patches installed, but not general patches; I'm
just going to check to see if there's a newer one that I can apt-get.
Otherwise, can anyone recommend a known good version of GCC I could
compile?
And I thought my days of compiling GCC were over... sigh.
Cheers
Richard
--
Richard Stevenson
"It wasn't me. I didn't do it. Nobody saw a thing. The sheep are lying."
-- Stevo, in the Monastery
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list