[CMake] wxCmakeSetup

Juan Sanchez Juan.Sanchez at amd.com
Fri Oct 26 13:18:17 EDT 2007


Hi,

A 32 bit linux build against wxwidgets-2.6.2 builds fine.

A 64 bit linux build does not seem to build because of an ambiguous
selection between overloaded functions:  This seems to be a 64 bit
portability issue with wxwidgets 2.6.2 for GTK.  Perhaps this is fixed
in wxwidgets 2.8.6?

/tool/.package/wxwidgets-2.6.2/include/wx-2.6/wx/filename.h: In static
member function `static wxChar wxFileName::GetPathSeparator(wxPathFormat)':
/tool/.package/wxwidgets-2.6.2/include/wx-2.6/wx/filename.h:355: error:
ambiguous overload for 'operator[]' in
'wxFileName::GetPathSeparators(wxPathFormat)()[0u]'
/tool/.package/wxwidgets-2.6.2/include/wx-2.6/wx/filename.h:355: note:
candidates are: operator[](const wxChar*, long int) <built-in>
/tool/.package/wxwidgets-2.6.2/include/wx-2.6/wx/string.h:767: note:
             wxChar& wxString::operator[](int)
/tool/.package/wxwidgets-2.6.2/include/wx-2.6/wx/string.h:769: note:
             wxChar& wxString::operator[](size_t)


Brandon Van Every wrote:
> On 10/26/07, Juan Sanchez <Juan.Sanchez at amd.com> wrote:
>> Where is the source for wxCMakeSetup?
> 
> In a CMake source tree, I'm gonna guess it's in CMake/Source/WXDialog.
> 
> 
> Cheers,
> Brandon Van Every
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
> 
> 




More information about the CMake mailing list