On Sat, Apr 08, 2006 at 02:30:12PM +0200, Martin Michlmayr wrote:
> But then I get the following, which I'm not sure is a bug in wxwidgets-2.6 or
> your package (I thought I had a patches wxwidgets installed so either it needs
> more patching or your package needs another fix):
>
> [...]
>
> Config.cpp:112: error: ambiguous overload for 'operator+' in 
> 'CConfig::GetGlobalDir()() + "BEID.conf"'
> [...]
> Config.cpp:117: error: cannot convert 'const wxChar*' to 'const char*' for 
> argument '2' to 'int NCONF_load(CONF*, const char*, long int*)'

This looks like a Unicode-vs-non-Unicode mismatch; NCONF_load should probably
take a const wxChar* (which probably maps to wchar_t, as I'd guess you
compile against the Unicode build of wxWidgets) instead of const char *, and
then move from there. Similiarily CONFFILE_BEID should probably read
_T("foo") instead of "foo", or line 112 should include the _T() macro.

Optionally, the entire thing could be compiled against the non-Unicode build
of wxWidgets... (Or perhaps upstream solved these bugs as well? I see the bug
was tagged fixed-upstream, but I'm not sure if this includes the wxWidgets
bugs.)

/* Steinar */
-- 
Homepage: http://www.sesse.net/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to