mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Try to fix the build with libstdc++ 4.4.
llvm-svn: 183909
This commit is contained in:
parent
953c89b054
commit
c4e0e0cdcd
@ -121,7 +121,8 @@ static int RunProgramRemotelyWithTimeout(StringRef RemoteClientPath,
|
||||
OS << "\n";
|
||||
|
||||
// The error message is in the output file, let's print it out from there.
|
||||
std::ifstream ErrorFile(StdOutFile);
|
||||
std::string StdOutFileName = StdOutFile.str();
|
||||
std::ifstream ErrorFile(StdOutFileName.c_str());
|
||||
if (ErrorFile) {
|
||||
std::copy(std::istreambuf_iterator<char>(ErrorFile),
|
||||
std::istreambuf_iterator<char>(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user