[llvm] r199711 - tools: use 64-bit print specifier

Yaron Keren yaron.keren at gmail.com
Tue Jan 21 03:42:38 PST 2014


Hi,

Visual C++ 2013 has inttypes.h with PRIu64 but earlier versions do not.
However, support/DataTypes.* defines these if needed.

Yaron



2014/1/21 Tim Northover <t.p.northover at gmail.com>

> Hi Saleem,
>
> > -  OS << format("; vsp = vsp + %u\n", 0x204 + (Value << 2));
> > +  OS << format("; vsp = vsp + %" PRIu64 "\n", 0x204 + (Value << 2));
>
> Aren't there some issues with MSVC around those macros? That is, I
> didn't think it supported them at all.
>
> Cheers.
>
> Tim.
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140121/e9f11eaf/attachment.html>


More information about the llvm-commits mailing list