#40276: Compiling R fails in Foundation Framework headers --------------------+-------------------------------- Reporter: me@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: R --------------------+-------------------------------- Several parse errors on files in /System/Library/Frameworks/Foundation.framework/Headers/ appear in the attached log, all fairly similar; this is the first: {{{ :info:build /opt/local/bin/gcc-mp-4.7 -I../../../../include -DNDEBUG -I../../../include -I../../../../src/include -DHAVE_CONFIG_H -I../../../../src/extra/zlib -I/opt/local/include -fPIC -pipe -Os -m64 -fobjc-exceptions -c qdCocoa.m -o qdCocoa.o :info:build In file included from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:120:0, :info:build from /System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12, :info:build from qdCocoa.h:39, :info:build from qdCocoa.m:24: :info:build /System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:75:24: error: expected identifier or '(' before '^' token :info:build /System/Library/Frameworks/Foundation.framework/Headers/NSTask.h:78:1: error: expected identifier before 'end' }}} -- Ticket URL: <https://trac.macports.org/ticket/40276> MacPorts <http://www.macports.org/> Ports system for OS X