From: SourceForge.net <no...@so...> - 2011-02-12 18:52:33
|
Bugs item #3179201, was opened at 2011-02-12 18:52 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3179201&group_id=140042 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: does not build against 2.9.1 Initial Comment: Looks like you have some overloaded function calls that aren't right: In file included from ./wxlua/src/wxlbind.cpp:21: ../modules/wxlua/include/wxlstate.h: In function ‘void wxlua_error(lua_State*, const wxString&)’: ../modules/wxlua/include/wxlstate.h:236: error: call of overloaded ‘wxlua_error(lua_State*&, const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:235: note: candidates are: void wxlua_error(lua_State*, const char*) ../modules/wxlua/include/wxlstate.h:236: note: void wxlua_error(lua_State*, const wxString&) In file included from ./wxlua/src/wxlbind.cpp:21: ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::RegisterFunction(int (*)(lua_State*), const wxString&)’: ../modules/wxlua/include/wxlstate.h:889: error: call of overloaded ‘RegisterFunction(int (*&)(lua_State*), const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:888: note: candidates are: void wxLuaState::RegisterFunction(int (*)(lua_State*), const char*) ../modules/wxlua/include/wxlstate.h:889: note: void wxLuaState::RegisterFunction(int (*)(lua_State*), const wxString&) ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::wxlua_Error(const wxString&) const’: ../modules/wxlua/include/wxlstate.h:968: error: call of overloaded ‘wxlua_Error(const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:967: note: candidates are: void wxLuaState::wxlua_Error(const char*) const ../modules/wxlua/include/wxlstate.h:968: note: void wxLuaState::wxlua_Error(const wxString&) const ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::lua_PushString(const wxString&)’: ../modules/wxlua/include/wxlstate.h:1104: error: call of overloaded ‘lua_PushString(const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:1103: note: candidates are: void wxLuaState::lua_PushString(const char*) ../modules/wxlua/include/wxlstate.h:1104: note: void wxLuaState::lua_PushString(const wxString&) ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::lua_GetField(int, const wxString&)’: ../modules/wxlua/include/wxlstate.h:1117: error: call of overloaded ‘lua_GetField(int&, const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:1116: note: candidates are: void wxLuaState::lua_GetField(int, const char*) ../modules/wxlua/include/wxlstate.h:1117: note: void wxLuaState::lua_GetField(int, const wxString&) ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::lua_SetField(int, const wxString&)’: ../modules/wxlua/include/wxlstate.h:1131: error: call of overloaded ‘lua_SetField(int&, const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:1130: note: candidates are: void wxLuaState::lua_SetField(int, const char*) ../modules/wxlua/include/wxlstate.h:1131: note: void wxLuaState::lua_SetField(int, const wxString&) ../modules/wxlua/include/wxlstate.h: In member function ‘int wxLuaState::lua_Load(const char* (*)(lua_State*, void*, size_t*), void*, const wxString&)’: ../modules/wxlua/include/wxlstate.h:1144: error: call of overloaded ‘lua_Load(const char* (*&)(lua_State*, void*, size_t*), void*&, const wxCharBuffer)’ is ambiguous ../modules/wxlua/include/wxlstate.h:1143: note: candidates are: int wxLuaState::lua_Load(const char* (*)(lua_State*, void*, size_t*), void*, const char*) ../modules/wxlua/include/wxlstate.h:1144: note: int wxLuaState::lua_Load(const char* (*)(lua_State*, void*, size_t*), void*, const wxString&) ../modules/wxlua/include/wxlstate.h: In member function ‘void wxLuaState::lua_Register(const wxString&, int (*)(lua_State*))’: ../modules/wxlua/include/wxlstate.h:1179: error: call of overloaded ‘lua_Register(const wxCharBuffer, int (*&)(lua_State*))’ is ambiguous ../modules/wxlua/include/wxlstate.h:1178: note: candidates are: void wxLuaState::lua_Register(const char*, int (*)(lua_State*)) ../modules/wxlua/include/wxlstate.h:1179: note: void wxLuaState::lua_Register(const wxString&, int (*)(lua_State*)) ../modules/wxlua/include/wxlstate.h: In member function ‘int wxLuaState::lua_GetInfo(const wxString&, lua_Debug*)’: ../modules/wxlua/include/wxlstate.h:1201: error: call of overloaded ‘lua_GetInfo(const wxCharBuffer, lua_Debug*&)’ is ambiguous ../modules/wxlua/include/wxlstate.h:1200: note: candidates are: int wxLuaState::lua_GetInfo(const char*, lua_Debug*) ../modules/wxlua/include/wxlstate.h:1201: note: int wxLuaState::lua_GetInfo(const wxString&, lua_Debug*) I'll try to fix it but not sure if there's something special I have to run to generate this. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=745324&aid=3179201&group_id=140042 |