Under OS X 10.9.5 using XCode 6.0.1 I am running into the following issue when I try to run make from the terminal:
make
fatal error: \'wchar.h\' fil
Deleting all the generated files and restarted the compilation worked for me. It was suggested in this link:
https://discourse.brew.sh/t/solved-scan-build-from-llvm-7-0-seems-broken-on-macos-mojave/3151/14