amaya build wxWidgets/src/common/uri.cpp line 890 compilation error

The problem is in wxWidgets and not in the amaya source:

/home/hume/Desktop/Downloads/amaya/wxWidgets/src/common/uri.cpp:890:
error: no match for ‘operator+’ in ‘wxStringBase::substr(size_t, size_t)
const(0u, ((size_t)((((long int)bp) - ((long
int)base->wxURI::m_path.wxString::<anonymous>.wxStringBase::c_str()))
(ceiling /) 4l))) + wxStringBase::substr(size_t, size_t)
const(((size_t)((((long int)op) - ((long
int)((wxURI*)this)->wxURI::m_path.wxString::<anonymous>.wxStringBase::c_str()))
(ceiling /) 4l)), ((wxURI*)this)->wxURI::m_path. wxString::Length())’
/home/hume/Desktop/Downloads/amaya/wxWidgets/include/wx/longlong.h:922:
note: candidates are: wxULongLong operator+(long unsigned int, const
wxULongLong&)
/home/hume/Desktop/Downloads/amaya/wxWidgets/include/wx/longlong.h:909:
note: wxLongLong operator+(long int, const wxLongLong&)
/home/hume/Desktop/Downloads/amaya/wxWidgets/include/wx/string.h:1469:
note: wxString operator+(const wxWCharBuffer&, const wxString&)
/home/hume/Desktop/Downloads/amaya/wxWidgets/include/wx/string.h:1467:
note: wxString operator+(const wxString&, const wxWCharBuffer&)
/home/hume/Desktop/Downloads/amaya/wxWidgets/include/wx/protocol/http.h:
In member function
‘wxStringToStringHashMap_wxImplementation_HashTable::Node**
wxStringToStringHashMap_wxImplementation_HashTable::GetNodePtr(const
wxString&) const’:

gcc --version
gcc (GCC) 4.1.0 (SUSE Linux)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hume@titan:~/Desktop/Downloads/amaya/Amaya/wx> uname -a
Linux titan 2.6.16.21-0.13-smp #1 SMP Mon Jul 17 17:22:44 UTC 2006
x86_64 x86_64 x86_64 GNU/Linux

a fix ? (this compiles wxWIdgets/src/common/uri.cpp ok):

/* m_path = base.m_path.substr(0, bp - base.m_path.c_str()) +
m_path.substr((op - m_path.c_str()), m_path.Length()); */
m_path = base.m_path.substr(0, bp - base.m_path.c_str());
m_path = m_path +
m_path.substr((op - m_path.c_str()), m_path.Length());



-- 
Regards,

Ed Hume
Hume Integration Software           http://www.hume.com/

Received on Wednesday, 16 August 2006 10:32:51 UTC