/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/system_error:291:43: error: use of undeclared identifier 'EHOSTUNREACH'
1bash-3.2$ pwd2/Applications/Xcode.app/Contents/Developer
3bash-3.2$ find ./ -type f -name "errno.h"|xargsgrep"EHOSTUNREACH"4.//Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */5.//Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */6.//Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */7.//Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */8.//Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */9.//Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */10.//Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */11.//Platforms/WatchSimulator.platform/Developer/SDKs/WatchSimulator.sdk/usr/include/sys/errno.h:#define EHOSTUNREACH 65 /* No route to host */12.//Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/errno.h:#ifndef EHOSTUNREACH13.//Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/errno.h:#define EHOSTUNREACH 991114bash-3.2$
15