[LLVMdev] Error compiling llvm/clang with clang+libc++ with -std=cxx0x
Dimitry Andric
dimitry at andric.com
Tue Jun 26 01:30:52 PDT 2012
On 2012-06-26 04:22, Ashok Nalkund wrote:
...
>> /local/mnt/workspace/ashoknn/519_libcxx_transition/llvm/src/tools/bugpoint/ToolRunner.cpp:131:12: error: invalid operands to binary expression ('llvm::raw_ostream' and 'std::ostringstream'
>> (aka 'basic_ostringstream<char>'))
>> errs() << OS;
>> ~~~~~~ ^ ~~
>
Hi Ashok, please try applying this diff from r155978 to your 3.1 release tree:
--- llvm/trunk/tools/bugpoint/ToolRunner.cpp 2012/05/02 05:31:31 155977
+++ llvm/trunk/tools/bugpoint/ToolRunner.cpp 2012/05/02 05:39:10 155978
@@ -128,7 +128,7 @@
ErrorFile.close();
}
- errs() << OS;
+ errs() << OS.str();
}
return ReturnCode;
More information about the llvm-dev
mailing list