<br><div class="gmail_quote">On Thu, Aug 2, 2012 at 4:08 PM, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Thu, Aug 02, 2012 at 11:19:13AM -0000, Alexey Samsonov wrote:<br>
> Author: samsonov<br>
> Date: Thu Aug  2 06:19:13 2012<br>
> New Revision: 161168<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=161168&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=161168&view=rev</a><br>
> Log:<br>
> [Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type<br>
<br>
</div>Shouldn't this be using (u)intptr_t from stdint.h?<br></blockquote><div><br></div><div>Sometimes there is no stdint.h (like in Visual Studio 9).</div><div>Also, we try to contain inclusion of system headers in headers of ASan/TSan runtimes as much as possible.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Joerg<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>