Clang error with Release 0.12
SercanKaraoglu opened this issue · comments
After upgrading to Tensorflow 0.12 I started to get compilation error from one of my project dependencies apple/swift-nio-ssl#254 (comment) . I have described the issue there and created a pr, however I was requested to create the issue in here the upstream project because it seems like a clang error.
139:7: error: missing '#include <stdlib.h>'; 'abort' must be declared before it is used
abort();
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk/usr/include/stdlib.h:131:7: note: declaration here is not visible
void abort(void) __cold __dead2;
Are you able to reproduce this error using a stock Swift toolchain?
I just saw relevant issue here apple/swift-nio-ssl#259 seems like another user reproduced the same error there with stock swift toolchain but not the library author himself. Seems like a clang issue
Since it is an upstream issue, I'll close this.
I'm not entirely sure this is an upstream issue: apple/swift-nio-ssl#259 (comment)