<div dir="ltr">Posting to the list first, rather than filing a bug because I'm not sure this is still an intended configuration:<br><br>With LLVM configured as:<br><div>CXX=clang++ CC=clang cmake ../llvm/  \</div><div>-DCMAKE_BUILD_TYPE=Release \</div><div>-DCMAKE_INSTALL_PREFIX=~/install/llvm-master/ \</div><div>-DLLVM_TARGETS_TO_BUILD=host \</div><div>-DLLVM_ENABLE_ASSERTIONS=true \</div><div>-DLLVM_ENABLE_LIBCXX=yes \</div><div>-DLLVM_ENABLE_LIBCXXABI=yes</div><div><br>The check-all target is failing to compile the interception tests:<br><div>/home/sdowney/bld/llvm-master/llvm/projects/compiler-rt/lib/interception/tests/interception_linux_test.cc:26:18: error: redefinition of 'isdigit'</div><div>INTERCEPTOR(int, isdigit, int d) {</div><div>                 ^</div><div>/usr/include/ctype.h:185:1: note: previous definition is here</div><div>__isctype_f (digit)</div><div>^</div><div>/usr/include/ctype.h:93:3: note: expanded from macro '__isctype_f'</div><div>  is##type (int __c) __THROW                                                  \</div><div>  ^</div><div><scratch space>:835:1: note: expanded from here</div><div>isdigit</div></div><div><br>Without the tests, clang builds and appears to work. And in the checkin prior to the interception tests, the tests all passed. <br></div></div>