<div dir="ltr">I tried to compile cfe 4.0.0-rc1 using llvm 4.0.0-rc1 and got this:<div><br></div><div><div>[ 63%] Building CXX object lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReader.cpp.o</div><div>/home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp: In lambda function:</div><div>/home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:1282:63: error: invalid use of incomplete type ‘class llvm::Error’</div><div>       if (llvm::zlib::uncompress(Blob, Uncompressed, Record[0]) !=</div><div>                                                               ^</div><div>In file included from /home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:73:0:</div><div>/home/andy/local/include/llvm/Support/Compression.h:21:7: note: forward declaration of ‘class llvm::Error’</div><div> class Error;</div><div>       ^</div><div>/home/andy/Downloads/cfe/rc1/lib/Serialization/ASTReader.cpp:1283:11: error: ‘StatusOK’ is not a member of ‘llvm::zlib’</div><div>           llvm::zlib::StatusOK) {</div><div>           ^</div><div>lib/Serialization/CMakeFiles/clangSerialization.dir/build.make:86: recipe for target 'lib/Serialization/CMakeFiles/clangSerialization.dir/ASTReader.cpp.o' failed</div><div><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">I added to AstReader.cpp:</div><div class="gmail_extra"><div class="gmail_extra">#include "llvm/Support/Error.h"</div><div><br></div><div>But there's still the other error.</div><div><br></div><div class="gmail_quote">On Wed, Jan 18, 2017 at 10:45 AM, Hans Wennborg via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear testers,<br>
<br>
4.0.0-rc1 was just tagged from the branch, with r292377.<br>
<br>
There are still open merge requests and bugs, but I'd like to get the<br>
testing started to see what issues come up.<br>
<br>
Please build, test, and upload binaries to the sftp. Let me know how<br>
it goes. I'll upload source, docs, and your binaries to the web site<br>
once their ready.<br>
<br>
Thanks,<br>
Hans<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div></div></div>