[llvm-dev] std Namespace Errors
Dan Liew via llvm-dev
llvm-dev at lists.llvm.org
Mon Aug 10 14:41:45 PDT 2015
Hi Peter,
Seeing as SAFECode is built on top of LLVM it should probably be using
llvm::raw_ostream rather than std::ostream.
This doesn't really answer your question though. I'm afraid I don't
know why you're getting these errors.
On 10 August 2015 at 13:54, Peter Finn via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> I’ve been updating SAFECode files to work with LLVM 3.7, and I’ve run into a
> number of errors I can’t explain.
>
> In LLVM_SRC/projects/safecode/runtime/BBRuntime/DebugReport.cpp, there are a
> host of std::ostream objects that, when given strings with the “<<“
> operator, produce errors. Also, the compiler doesn’t seem to recognize
> std::dec for some reason.
Are you sure you have the right header included (I think its "ios") to
use std::dec?
Thanks,
Dan.
More information about the llvm-dev
mailing list