<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel Dunbar wrote:
<blockquote
cite="mid:6a8523d60909230018m6f7f6c3ct1e441fb649dfe3fe@mail.gmail.com"
type="cite">
<pre wrap="">Hi Edward,
On Tue, Sep 22, 2009 at 8:47 PM, Edward O'Callaghan
<a class="moz-txt-link-rfc2396E" href="mailto:eocallaghan@auroraux.org"><eocallaghan@auroraux.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Author: evocallaghan
Date: Tue Sep 22 22:47:24 2009
New Revision: 82605
URL: <a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project?rev=82605&view=rev">http://llvm.org/viewvc/llvm-project?rev=82605&view=rev</a>
Log:
Fix compile time warning: format '%#lx' expects type 'long unsigned int', but argument 3 has type 'unsigned int'
</pre>
</blockquote>
<pre wrap=""><!---->
This isn't correct (of course, neither was the original). Argument 3
has type uintptr_t, which is not necessarily unsigned int. To be more
painfully portable it should probably always print as a uint64_t (I
confess to not looking at the context).</pre>
</blockquote>
<br>
Is there a problem preventing us from using %p to display these pointer
values instead of hacking together our own equivalent?<br>
<br>
John.<br>
</body>
</html>