summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-link/llvm-link.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 21:57:48 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 21:57:48 +0000
commitfef3241cc638ccb832c6330d88627d1715eb1480 (patch)
tree3bdb2259b79f76281e36770c8843f3ce3eb666d8 /llvm/tools/llvm-link/llvm-link.cpp
parentdfe130c1611fdde61437fed198db3924d574873e (diff)
downloadbcm5719-llvm-fef3241cc638ccb832c6330d88627d1715eb1480.tar.gz
bcm5719-llvm-fef3241cc638ccb832c6330d88627d1715eb1480.zip
Changes for 64bit gcc
llvm-svn: 2799
Diffstat (limited to 'llvm/tools/llvm-link/llvm-link.cpp')
-rw-r--r--llvm/tools/llvm-link/llvm-link.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/tools/llvm-link/llvm-link.cpp b/llvm/tools/llvm-link/llvm-link.cpp
index 11000de9a71..bc26b3162da 100644
--- a/llvm/tools/llvm-link/llvm-link.cpp
+++ b/llvm/tools/llvm-link/llvm-link.cpp
@@ -19,7 +19,9 @@
#include <memory>
#include <sys/types.h> // For FileExists
#include <sys/stat.h>
+#include <iostream>
+using std::cerr;
cl::StringList InputFilenames("", "Load <arg> files, linking them together",
cl::OneOrMore);
@@ -106,7 +108,7 @@ int main(int argc, char **argv) {
if (DumpAsm) cerr << "Here's the assembly:\n" << Composite.get();
- ostream *Out = &cout; // Default to printing to stdout...
+ std::ostream *Out = &std::cout; // Default to printing to stdout...
if (OutputFilename != "-") {
if (!Force && std::ifstream(OutputFilename.c_str())) {
// If force is not specified, make sure not to overwrite a file!
OpenPOWER on IntegriCloud