Subject: | Wx-0.9923 broken in OS X 10.9.3 |
Seems mostly good while building, but then (see at the end for the g++ version info):
....
g++ -mmacosx-version-min=10.6 -UWX_PRECOMP -c -I. -I../.. -I/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/lib/wx/include/osx_cocoa-unicode-3.0 -I/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0 -fno-common -DPERL_DARWIN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/opt/local/include -O3 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" "-I/opt/local/perl-5.18.2/lib/5.18.2/darwin-2level/CORE" -DWXPL_EXT -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ WebView.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
WebView.c:382:2: error: use of undeclared identifier 'wxWebViewBackend'; did you mean 'wxWebViewBackendIE'?
wxWebViewBackend backend;
^~~~~~~~~~~~~~~~
wxWebViewBackendIE
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:96:45: note: 'wxWebViewBackendIE' declared here
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendIE[];
^
WebView.c:382:18: error: expected ';' after expression
wxWebViewBackend backend;
^
;
WebView.c:382:19: error: use of undeclared identifier 'backend'
wxWebViewBackend backend;
^
WebView.c:385:6: error: use of undeclared identifier 'backend'
backend = wxWEB_VIEW_BACKEND_DEFAULT;
^
WebView.c:385:16: error: use of undeclared identifier 'wxWEB_VIEW_BACKEND_DEFAULT'; did you mean 'wxWEBVIEW_FIND_DEFAULT'?
backend = wxWEB_VIEW_BACKEND_DEFAULT;
^~~~~~~~~~~~~~~~~~~~~~~~~~
wxWEBVIEW_FIND_DEFAULT
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:78:5: note: 'wxWEBVIEW_FIND_DEFAULT' declared here
wxWEBVIEW_FIND_DEFAULT = 0
^
WebView.c:387:6: error: use of undeclared identifier 'backend'
backend = (wxWebViewBackend)SvIV(ST(0))
^
WebView.c:387:17: error: use of undeclared identifier 'wxWebViewBackend'; did you mean 'wxWebViewBackendIE'?
backend = (wxWebViewBackend)SvIV(ST(0))
^~~~~~~~~~~~~~~~
wxWebViewBackendIE
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:96:45: note: 'wxWebViewBackendIE' declared here
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendIE[];
^
WebView.c:387:34: error: called object type 'const char *' is not a function or function pointer
backend = (wxWebViewBackend)SvIV(ST(0))
~~~~~~~~~~~~~~~~~~^
/opt/local/perl-5.18.2/lib/5.18.2/darwin-2level/CORE/sv.h:1631:18: note: expanded from macro 'SvIV'
#define SvIV(sv) (SvIOK_nog(sv) ? SvIVX(sv) : sv_2iv(sv))
^
WebView.c:390:31: error: use of undeclared identifier 'backend'
RETVAL = wxWebView::New( backend );
^
WebView.c:382:2: warning: expression result unused [-Wunused-value]
wxWebViewBackend backend;
^~~~~~~~~~~~~~~~
WebView.c:414:2: error: use of undeclared identifier 'wxWebViewBackend'; did you mean 'wxWebViewBackendIE'?
wxWebViewBackend backend;
^~~~~~~~~~~~~~~~
wxWebViewBackendIE
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:96:45: note: 'wxWebViewBackendIE' declared here
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendIE[];
^
WebView.c:414:18: error: expected ';' after expression
wxWebViewBackend backend;
^
;
WebView.c:414:19: error: use of undeclared identifier 'backend'
wxWebViewBackend backend;
^
WebView.c:440:6: error: use of undeclared identifier 'backend'
backend = wxWEB_VIEW_BACKEND_DEFAULT;
^
WebView.c:440:16: error: use of undeclared identifier 'wxWEB_VIEW_BACKEND_DEFAULT'; did you mean 'wxWEBVIEW_FIND_DEFAULT'?
backend = wxWEB_VIEW_BACKEND_DEFAULT;
^~~~~~~~~~~~~~~~~~~~~~~~~~
wxWEBVIEW_FIND_DEFAULT
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:78:5: note: 'wxWEBVIEW_FIND_DEFAULT' declared here
wxWEBVIEW_FIND_DEFAULT = 0
^
WebView.c:442:6: error: use of undeclared identifier 'backend'
backend = (wxWebViewBackend)SvIV(ST(5))
^
WebView.c:442:17: error: use of undeclared identifier 'wxWebViewBackend'; did you mean 'wxWebViewBackendIE'?
backend = (wxWebViewBackend)SvIV(ST(5))
^~~~~~~~~~~~~~~~
wxWebViewBackendIE
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:96:45: note: 'wxWebViewBackendIE' declared here
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendIE[];
^
WebView.c:442:34: error: called object type 'const char *' is not a function or function pointer
backend = (wxWebViewBackend)SvIV(ST(5))
~~~~~~~~~~~~~~~~~~^
/opt/local/perl-5.18.2/lib/5.18.2/darwin-2level/CORE/sv.h:1631:18: note: expanded from macro 'SvIV'
^
WebView.c:460:60: error: use of undeclared identifier 'backend'
RETVAL = wxWebView::New( parent, id, url, pos, size, backend, style, name );
^
WebView.c:414:2: warning: expression result unused [-Wunused-value]
wxWebViewBackend backend;
^~~~~~~~~~~~~~~~
WebView.c:764:14: error: use of undeclared identifier 'wxWEB_VIEW_RELOAD_DEFAULT'; did you mean 'wxWEBVIEW_RELOAD_DEFAULT'?
flags = wxWEB_VIEW_RELOAD_DEFAULT;
^~~~~~~~~~~~~~~~~~~~~~~~~
wxWEBVIEW_RELOAD_DEFAULT
/opt/local/perl-5.18.2/lib/site_perl/5.18.2/darwin-2level/Alien/wxWidgets/osx_cocoa_3_0_0_uni/include/wx-3.0/wx/webview.h:67:5: note: 'wxWEBVIEW_RELOAD_DEFAULT' declared here
wxWEBVIEW_RELOAD_DEFAULT,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
make[2]: *** [WebView.o] Error 1
make[1]: *** [subdirs] Error 2
make: *** [subdirs] Error 2
MDOOTSON/Wx-0.9922.tar.gz
g++ version info:
g++ -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
Target: x86_64-apple-darwin13.2.0
Thread model: posix