Opened 20 years ago
Closed 19 years ago
#3137 closed defect (fixed)
wxWidgets does not build with gcc 4.0 on Tiger
Reported by: | jyrki.wahlstedt@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | blb@… | |
Port: |
Description
Trying to build wxWidgets (2.6.0) on 10.4 with default compiler 4.0, fails with: Error: Target com.apple.build returned: shell command "cd "/usr/local/var/db/dports/build/ file._usr_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_graphics_wxWidge ts/work/build" && make" returned error 2 Command output: ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:156: warning: `...' as arguments.) ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:160: warning: `MyFrameLoadMonitor' may not respond to `+alloc' ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:161: warning: no `-setFrameLoadDelegate:' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::LoadURL(const wxString&)': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:181: warning: no `-mainFrame' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:181: error: NSURLRequest was not declared in this scope ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:181: error: NSURL was not declared in this scope ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:181: error: wxNSStringWithWxString was not declared in this scope ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:181: warning: no `-loadRequest:' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGoBack()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:190: warning: no `-canGoBack' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGoForward()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:197: warning: no `-canGoForward' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::GoBack()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:204: warning: `WebView' may not respond to `-goBack' ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::GoForward()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:212: warning: `WebView' may not respond to `-goForward' ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::Reload()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:220: warning: no `-mainFrame' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:220: warning: no `-reload' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `void wxWebKitCtrl::Stop()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:227: warning: no `-mainFrame' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:227: warning: no `-stopLoading' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm: In member function `bool wxWebKitCtrl::CanGetPageSource()': ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:234: error: WebDataSource was not declared in this scope ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:234: error: dataSource was not declared in this scope ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:234: warning: no `-mainFrame' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:234: warning: no `-dataSource' method found ../wxWidgets-2.6.0/src/html/htmlctrl/webkit/webkit.mm:235: confused by earlier errors, bailing out make: * [monodll_webkit.o] Error 1
Changing the default compiler to 3.3, cleaning the port and starting anew allows the build to succeed.
fixed!