#37215: wxWidgets@2.8.12 build fails on 10.8.2 -----------------------------------------+-------------------------------- Reporter: daniellord@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Low | Milestone: Component: ports | Version: 2.1.2 Keywords: python27 wxPython wxWidgets | Port: wxWidgets@2.8.12 -----------------------------------------+-------------------------------- Env: OS X 10.8.2, XCode Version 4.5.2 (4G2008a) python27 and python33 ports installed Summary: A compiler syntax issue occurs processing a Carbon header (private.h) when compiling wxWidgets 2.8. py27-wxpython30 does compile properly on my system. Details: A compiler syntax issue occurs processing a Carbon header (private.h) when compiling wxWidgets. These are wx headers, not Apple headers. The specific errors are: ./include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type ../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type Attempting compile with llvm-gcc-4.2 did not work nor did apple-gcc-4.2. Same errors. While this occurs during a build for py27-wxpython (@2.8.12.1 python/py-wxpython), it appears to be a wxWidgets 2.8 source issue. py27-wxpython30 does compile properly on my system so perhaps the 2.8 version should be superceded or the port marked to show it doesn't compile on 10.8.2. {{{ :info:build In file included from ../include/wx/mac/private.h:4, :info:build from ../src/common/dynlib.cpp:48: :info:build ../include/wx/mac/carbon/private.h:1459: error: ‘Cursor’ does not name a type :info:build ../include/wx/mac/carbon/private.h:1488: error: ‘ClassicCursor’ does not name a type :info:build make: *** [basedll_dynlib.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/37215> MacPorts <http://www.macports.org/> Ports system for Mac OS