Date: Sat, 16 Aug 2014 15:47:45 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 192707] New: comms/gqrx and comms/gnuradio fails to build Message-ID: <bug-192707-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192707 Bug ID: 192707 Summary: comms/gqrx and comms/gnuradio fails to build Product: Ports Tree Version: Latest Hardware: Any OS: Any Status: Needs Triage Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: oliver@beefrankly.org WARNING: WXWIN not set in environment. Assuming '..' Preparing CORE... Preparing STC... Preparing GLCANVAS... Preparing GIZMOS... running build running build_py copying wx/__version__.py -> build/lib.freebsd-11.0-CURRENT-amd64-2.7/wx copying wx/build/build_options.py -> build/lib.freebsd-11.0-CURRENT-amd64-2.7/wx/build package init file 'wx/tools/XRCed/plugins/__init__.py' not found (or not a regular file) running build_ext building '_core_' extension cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -fPIC -DSWIG_TYPE_TABLE=_wxPython_table -DSWIG_PYTHON_OUTPUT_TUPLE -DWXP_USE_THREAD=1 -UNDEBUG -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -D_THREAD_SAFE -D_THREAD_SAFE -Iinclude -Isrc -I/usr/local/lib/wx/include/gtk2-unicode-3.0 -I/usr/local/include/wx-3.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include/python2.7 -c src/helpers.cpp -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/src/helpers.o -O3 -pthread In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:45: /usr/local/include/wx-3.0/wx/wxcrtbase.h:680:53: error: use of undeclared identifier 'wcsdup' inline wchar_t* wxStrdup(const wchar_t *s) { return wxCRT_StrdupW(s); } ^ /usr/local/include/wx-3.0/wx/wxcrtbase.h:183:27: note: expanded from macro 'wxCRT_StrdupW' #define wxCRT_StrdupW wcsdup ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:173:66: error: use of undeclared identifier 'strnlen' inline size_t wxStrnlen(const char *str, size_t maxlen) { return wxCRT_Strnlen... ^ /usr/local/include/wx-3.0/wx/wxcrtbase.h:237:29: note: expanded from macro 'wxCRT_StrnlenA' #define wxCRT_StrnlenA strnlen ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:187:69: error: use of undeclared identifier 'wcsnlen' inline size_t wxStrnlen(const wchar_t *str, size_t maxlen) { return wxCRT_Strn... ^ /usr/local/include/wx-3.0/wx/wxcrtbase.h:241:29: note: expanded from macro 'wxCRT_StrnlenW' #define wxCRT_StrnlenW wcsnlen ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:43: error: use of undeclared identifier 'wcscasecmp'; did you mean 'strcasecmp'? WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~ strcasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:265:32: note: expanded from macro 'wxCRT_StricmpW' #define wxCRT_StricmpW wcscasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:347:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:324:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:6: note: 'strcasecmp' declared here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:1: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'const wchar_t *' WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:347:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2); } \ ^~ /usr/local/include/wx-3.0/wx/wxcrt.h:324:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:43: error: use of undeclared identifier 'wcscasecmp'; did you mean 'strcasecmp'? WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~ strcasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:265:32: note: expanded from macro 'wxCRT_StricmpW' #define wxCRT_StricmpW wcscasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:351:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2.data()); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:324:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:6: note: 'strcasecmp' declared here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:1: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'const wchar_t *' WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:351:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2.data()); } \ ^~ /usr/local/include/wx-3.0/wx/wxcrt.h:324:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:43: error: use of undeclared identifier 'wcscasecmp'; did you mean 'strcasecmp'? WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~ strcasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:265:32: note: expanded from macro 'wxCRT_StricmpW' #define wxCRT_StricmpW wcscasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:365:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:324:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:6: note: 'strcasecmp' declared here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:1: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'const CharType *' (aka 'const wchar_t *') WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:365:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2); } \ ^~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:324:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:43: error: use of undeclared identifier 'wcscasecmp'; did you mean 'strcasecmp'? WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~ strcasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:265:32: note: expanded from macro 'wxCRT_StricmpW' #define wxCRT_StricmpW wcscasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:369:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2.data()); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:324:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:6: note: 'strcasecmp' declared here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:459:1: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'const CharType *' (aka 'const wchar_t *') WX_STRCMP_FUNC(wxStricmp, wxCRT_StricmpA, wxCRT_StricmpW, wxStricmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:369:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2.data()); } \ ^~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:324:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2) ^ /usr/include/strings.h:60:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:45: error: use of undeclared identifier 'wcsncasecmp'; did you mean 'strncasecmp'? WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~ strncasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:268:33: note: expanded from macro 'wxCRT_StrnicmpW' #define wxCRT_StrnicmpW wcsncasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:347:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:520:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:6: note: 'strncasecmp' declared here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:1: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'const wchar_t *' WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:347:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2); } \ ^~ /usr/local/include/wx-3.0/wx/wxcrt.h:520:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:45: error: use of undeclared identifier 'wcsncasecmp'; did you mean 'strncasecmp'? WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~ strncasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:268:33: note: expanded from macro 'wxCRT_StrnicmpW' #define wxCRT_StrnicmpW wcsncasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:351:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2.data()); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:520:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:6: note: 'strncasecmp' declared here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:1: error: cannot initialize a parameter of type 'const char *' with an lvalue of type 'const wchar_t *' WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:351:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1, s2.data()); } \ ^~ /usr/local/include/wx-3.0/wx/wxcrt.h:520:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:45: error: use of undeclared identifier 'wcsncasecmp'; did you mean 'strncasecmp'? WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~ strncasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:268:33: note: expanded from macro 'wxCRT_StrnicmpW' #define wxCRT_StrnicmpW wcsncasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:365:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:520:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:6: note: 'strncasecmp' declared here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:1: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'const CharType *' (aka 'const wchar_t *') WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:365:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2); } \ ^~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:520:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:45: error: use of undeclared identifier 'wcsncasecmp'; did you mean 'strncasecmp'? WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~ strncasecmp /usr/local/include/wx-3.0/wx/wxcrtbase.h:268:33: note: expanded from macro 'wxCRT_StrnicmpW' #define wxCRT_StrnicmpW wcsncasecmp ^ /usr/local/include/wx-3.0/wx/wxcrt.h:402:44: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:369:30: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2.data()); } \ ^ /usr/local/include/wx-3.0/wx/wxcrt.h:520:36: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:6: note: 'strncasecmp' declared here int strncasecmp(const char *, const char *, size_t) __pure; ^ In file included from src/helpers.cpp:17: In file included from include/wx/wxPython/wxPython_int.h:35: In file included from /usr/local/include/wx-3.0/wx/wx.h:15: In file included from /usr/local/include/wx-3.0/wx/object.h:19: In file included from /usr/local/include/wx-3.0/wx/memory.h:15: In file included from /usr/local/include/wx-3.0/wx/string.h:4305: In file included from /usr/local/include/wx-3.0/wx/crt.h:19: /usr/local/include/wx-3.0/wx/wxcrt.h:530:1: error: cannot initialize a parameter of type 'const char *' with an rvalue of type 'const CharType *' (aka 'const wchar_t *') WX_STRCMP_FUNC(wxStrnicmp, wxCRT_StrnicmpA, wxCRT_StrnicmpW, wxStrnicmp_String) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:402:5: note: expanded from macro 'WX_STRCMP_FUNC' WX_STR_FUNC_NO_INVERT(int, name, crtA, crtW, forString) \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:369:36: note: expanded from macro 'WX_STR_FUNC_NO_INVERT' { return WX_STR_CALL(crtW, s1.data(), s2.data()); } \ ^~~~~~~~~ /usr/local/include/wx-3.0/wx/wxcrt.h:520:41: note: expanded from macro 'WX_STR_CALL' #define WX_STR_CALL(func, a1, a2) func(a1, a2, n) ^ /usr/include/strings.h:61:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ src/helpers.cpp:559:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* sysargv = PySys_GetObject("argv"); ^ src/helpers.cpp:568:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] pyArg = PySys_GetObject("executable"); ^ src/helpers.cpp:790:45: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wxPyAssertionError = PyErr_NewException("wx._core.PyAssertionError", ^ src/helpers.cpp:795:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] wxPyNoAppError = PyErr_NewException("wx._core.PyNoAppError", ^ src/helpers.cpp:947:57: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* rv = PyObject_CallMethod(obj, "__del__", NULL); ^ src/helpers.cpp:1423:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* read = wxPyGetMethod(py, "read"); ^ src/helpers.cpp:1424:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* seek = wxPyGetMethod(py, "seek"); ^ src/helpers.cpp:1425:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* tell = wxPyGetMethod(py, "tell"); ^ src/helpers.cpp:1616:41: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* write = wxPyGetMethod(py, "write"); ^ src/helpers.cpp:1617:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* seek = wxPyGetMethod(py, "seek"); ^ src/helpers.cpp:1618:40: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] PyObject* tell = wxPyGetMethod(py, "tell"); ^ src/helpers.cpp:1822:47: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] result = PyObject_CallMethod(arg, "GetSkipped", ""); ^ src/helpers.cpp:1822:61: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings] result = PyObject_CallMethod(arg, "GetSkipped", ""); ^ src/helpers.cpp:2635:16: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (*count < 0) { ~~~~~~ ^ ~ 14 warnings and 19 errors generated. error: command 'cc' failed with exit status 1 *** Error code 1 Stop. make[3]: stopped in /usr/ports/x11-toolkits/py-wxPython30 *** Error code 1 Stop. make[2]: stopped in /usr/ports/comms/gnuradio *** Error code 1 Stop. make[1]: stopped in /usr/ports/comms/gnuradio *** Error code 1 Stop. make: stopped in /usr/ports/comms/gqrx -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192707-13>