revision 48640: wxString ambiguity compile problem.
Jan van Dijk
jan at epgmod.phys.tue.nl
Tue Sep 11 11:12:26 PDT 2007
L.S;
SVN trunk (revision revision 48640) does not compile.
This is a Linux-wxGTK x86_64 build, configured with:
'--enable-optimize'
'--disable-debug'
'--enable-stl'
'--enable-std_string'
'--enable-std_iostreams'
'--with-opengl'
'--enable-compat26'
See the compile log below.
Thanks, Jan.
PS: sorry if this has already been reported, I do not have access to the
mailing list at present.
../../../utils/wxrc/wxrc.cpp: In member function ‘virtual int
XmlResApp::OnRun()’:
../../../utils/wxrc/wxrc.cpp:261: error: conversion from ‘long int’
to ‘wxString’ is ambiguous
../../../include/wx/string.h:980: note: candidates are:
wxString::wxString(const wchar_t*)
../../../include/wx/string.h:967: note:
wxString::wxString(const unsigned char*)
../../../include/wx/string.h:954: note:
wxString::wxString(const char*)
../../../include/wx/string.h:948: note:
wxString::wxString(wchar_t, size_t)
../../../include/wx/string.h:944: note:
wxString::wxString(char, size_t)
../../../include/wx/string.h:443: note:
wxString::wxString(int)
(This message is repeated a number of times, once for each initializer in the
initializer list).
More information about the wx-dev
mailing list