[MacPorts] #43214: codeblocks/wxWidgets-3.0: wxcrt.h: error: call to 'wcsstr' is ambiguous
MacPorts
noreply at macports.org
Fri Apr 4 06:36:06 PDT 2014
#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
More information about the macports-tickets
mailing list