[MacPorts] #43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous
#43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous ---------------------+--------------------------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: wxWidgets-3.0, codeblocks ---------------------+--------------------------------------- `codeblocks +wxwidgets30` fails to compile on 10.9 (https://build.macports.org/builders/buildports-mavericks- x86_64/builds/2530) {{{ In file included from dlgformattersettings.cpp:12: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/radiobut.h:33: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/control.h:22: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/window.h:18: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/event.h:16: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/object.h:19: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/memory.h:15: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/string.h:4305: In file included from /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/crt.h:19: /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/wxcrt.h:577:14: error: call to 'wcsstr' is ambiguous { return wxCRT_StrstrW(haystack, needle); } ^~~~~~~~~~~~~ /opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0/include/wx-3.0/wx/wxcrtbase.h:155:26: note: expanded from macro 'wxCRT_StrstrW' #define wxCRT_StrstrW wcsstr ^~~~~~ /usr/include/wchar.h:141:10: note: candidate function wchar_t *wcsstr(const wchar_t * __restrict, const wchar_t * __restrict); ^ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/cwchar:189:49: note: candidate function inline _LIBCPP_INLINE_VISIBILITY const wchar_t* wcsstr(const wchar_t* __s1, const wchar_t* __s2) {return ::wcsstr(__s1, __s2);} ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/43214> MacPorts <http://www.macports.org/> Ports system for OS X
#43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous ----------------------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets-3.0, codeblocks | ----------------------------------------+--------------------- Comment (by mojca@…): It works OK on 10.6, 10.7. It would make sense to try building with a different compiler. -- Ticket URL: <https://trac.macports.org/ticket/43214#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous ----------------------------------------+--------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: wxWidgets-3.0, codeblocks | ----------------------------------------+--------------------- Comment (by mojca@…): Reported upstream at * https://sourceforge.net/p/codeblocks/tickets/13/ -- Ticket URL: <https://trac.macports.org/ticket/43214#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous (on 10.9) ----------------------------------------+----------------------- Reporter: mojca@… | Owner: mojca@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: mavericks Port: wxWidgets-3.0, codeblocks | ----------------------------------------+----------------------- Changes (by mojca@…): * keywords: => mavericks -- Ticket URL: <https://trac.macports.org/ticket/43214#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts