<div>My bad. Clang-9 also fails.</div><div> </div><div>21.06.2020, 11:23, "via cfe-dev" <cfe-dev@lists.llvm.org>:</div><blockquote><div>Hi! I have downloaded precompiled clang 10 on a virgin Mac OS Catalina installation. My attempt to compile C++ code fails with error:</div><div> </div><div><div>/Users/stepan/Downloads/clang+llvm-10.0.0-x86_64-apple-darwin/bin/../include/c++/v1/wchar.h:118:15: fatal error:</div><div>'wchar.h' file not found</div><div>#include_next <wchar.h></div><div>^~~~~~~~~</div><div>1 error generated.</div><div> </div><div>This is kind of know error end was described in stack overflow:</div><div><a href="https://stackoverflow.com/questions/26185978/macos-wchar-h-file-not-found">https://stackoverflow.com/questions/26185978/macos-wchar-h-file-not-found</a></div><div> </div><div>The reason is a wrong configuration of sysroot or include directories.</div><div> </div><div>And yet I have a question. As long a it is a precompiled clang for macos, isn't it possible to fix it and make it working out of box?</div><div> </div><div>BTW: clang-9 works without any issues.</div><div> </div><div>Thanks!</div><div>Stepan</div><div> </div></div>,<p>_______________________________________________<br />cfe-dev mailing list<br /><a href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a><br /><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a></p></blockquote>