As of compiler-rt r182843, when building ASan RTL with MSVC -W2:
$ cl -nologo -W2 -I.. -I../../include -c asan_allocator2.cc
asan_allocator2.cc
..\sanitizer_common/sanitizer_quarantine.h(150) : warning C4146: unary minus
operator applied to unsigned type, result still unsigned
..\sanitizer_common/sanitizer_quarantine.h(145) : while compiling class template member function '__sanitizer::QuarantineBatch *__sanitizer::QuarantineCache<Callback>::DequeueBatch(void)'
with
[
Callback=__asan::QuarantineCallback
]
..\sanitizer_common/sanitizer_quarantine.h(79) : see reference to class template instantiation '__sanitizer::QuarantineCache<Callback>' being compiled
with
[
Callback=__asan::QuarantineCallback
]
asan_allocator2.cc(253) : see reference to class template instantiation '__sanitizer::Quarantine<Callback,Node>' being compiled
with
[
Callback=__asan::QuarantineCallback,
Node=__asan::AsanChunk
]
Original issue reported on code.google.com by timurrrr@google.com on 29 May 2013 at 12:00
Original issue reported on code.google.com by
timurrrr@google.com
on 29 May 2013 at 12:00