[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
rspencer at reidspencer.com
Thu Mar 8 17:27:54 PST 2007
On Thu, 2007-03-08 at 15:38 -0800, Bill wrote:
> On 3/8/07, Chris Lattner <clattner at apple.com> wrote:
> > On Mar 8, 2007, at 3:27 PM, Bill Wendling wrote:
> > > Changes in directory llvm/lib/ExecutionEngine/Interpreter:
> > > Execution.cpp updated: 1.175 -> 1.176
> > > ---
> > > Log message:
> > >
> > > Don't use a cast. It causes an error on some platforms.
> > std::hex is sticky. Please don't use it.
> > I assume that this fails because memory is a pointer? If so, try
> > casting to uintptr_t
> What means you this "sticky"?
Its sticky because it sets a hex mode output for all subsequent numeric
<< operators. Of course, you can set it back with something like:
cerr << std::hex << hexValue << std::dec;
> Done :-)
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
More information about the llvm-commits