[llvm-dev] A lot of -Wcast-qual warning when bootstrapping clang+compiler-rt on Mac. (original) (raw)
Dmitry Babokin via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 7 18:00:24 PST 2017
- Previous message: [llvm-dev] [GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
- Next message: [llvm-dev] [RFC] lld: Dropping TLS relaxations in favor of TLSDESC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
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?
Here are examples: /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] /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]
Dmitry. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20171107/169e5f35/attachment.html>
- Previous message: [llvm-dev] [GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
- Next message: [llvm-dev] [RFC] lld: Dropping TLS relaxations in favor of TLSDESC
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]