[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

wx-win2.5



v0n0@bahamut:~/Progetti/tabboz2/src$ make
g++ -c `wx-config --cxxflags` main.cpp
main.cpp: In member function `virtual bool Gui::OnInit()':
main.cpp:6: error: conversion from `const char[21]' to `const wxString' is
  ambiguous
/usr/include/wx-2.5/wx/string.h:646: error: candidates are:
  wxString::wxString(wchar_t, long unsigned int) <near match>
/usr/include/wx-2.5/wx/string.h:635: error:
  wxString::wxString(int) <near match>
make: *** [main.o] Error 1

This is the output of the compilation of the simplest program I can
write (a gui with only a frame with a title), but it won't compile with
wxwindows 2.5. I read that a similar bug was found in compiling amule,
that in fact uses this libraries.
Is this an upstream bug or a debian bug?
Maybe should I wait for 2.6?

Thanks

--
Alessandro Dal Grande
Student In The University Of Padua - Computer Science
Linux Registered User #359258
System: GNU/Linux Debian Sid Pure64 on K8@3200
Kernel: 2.6.8-10-amd64-k8
Mail: Thunderbird
Chat: Kopete (ICQ) 150487234

Put the fan back into computing

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: