<div dir="ltr">Hi,<div><br></div><div>I've noticed a lot of -Wcast-qual warnings in tsan and sanitizer_common when bootstrapping clang with compiler-rt on Mac. Does anyone else see them?</div><div><br></div><div>Here are examples:</div><div><div>/Users/dybaboki/llvm/llvm-trunk/projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_mac.cc:215:19: warning: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]</div><div>/Users/dybaboki/llvm/llvm-trunk/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cc:115:1: warning: cast from 'volatile int *' to 'unsigned int *' drops volatile qualifier [-Wcast-qual]</div></div><div><br></div><div>Dmitry.</div></div>