Mac OS X build errors missing instancetype + further issues just after building jdk.xml.ws

Martijn Verburg martijnverburg at gmail.com
Wed Apr 15 15:42:37 UTC 2015


Hi all,

Mac OS X 10.10.3, latest Xcode (6.3), using GCC 4.8

--------

After getting past the defined(__OPENBSD__) bug I'm running into a host of
new errors starting with:

/Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk9/hotspot/agent/src/os/bsd/MacosxDebuggerLocal.m:26:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/objc/NSObject.h:22:1:
error: unknown type name 'instancetype'
 - (instancetype)self;
 ^

------------

The error listings are strong with this one, so I've paste binned the full
output :-)

http://pastebin.com/REgQA8i5

Cheers,
Martijn



More information about the build-dev mailing list