tpoechtrager/apple-libtapi

Build error on latest master

isuruf opened this issue · 2 comments

$SRC_DIR/src/llvm/projects/libtapi/lib/Core/APIJSONSerializer.cpp:1202:10: error: could not convert 'result' from 'tapi::internal::API' to 'llvm::Expected<tapi::internal::API>'    return result;

I'm getting the above error on Linux x86_64.

Switching from gcc 7.5 to 8.4 fixed the error

I have updated the requirements. Thanks for letting me know of this issue.

I don't want to take apart LLVM just to make the library compile with GCC<=7 (which is not even supported by GNU anymore). :-) The main compiler should be Clang anyway. I was able to build the library with Clang 3.9.1 so it can be still built on very old systems.