mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Changes for 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2799 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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!
|
||||
|
Reference in New Issue
Block a user