[llvm-commits] CVS: llvm/lib/Support/Timer.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 6 17:14:00 PDT 2003


Changes in directory llvm/lib/Support:

Timer.cpp updated: 1.17 -> 1.18

---
Log message:

Fix compilation problem with some versions of G++


---
Diffs of the changes:

Index: llvm/lib/Support/Timer.cpp
diff -u llvm/lib/Support/Timer.cpp:1.17 llvm/lib/Support/Timer.cpp:1.18
--- llvm/lib/Support/Timer.cpp:1.17	Fri Jun  6 16:09:29 2003
+++ llvm/lib/Support/Timer.cpp	Fri Jun  6 17:13:01 2003
@@ -235,7 +235,7 @@
     return &std::cout;
 
   std::ostream *Result = new std::ofstream(LibSupportInfoOutputFilename.c_str(),
-                                           std::ios_base::app);
+                                           std::ios::app);
   if (!Result->good()) {
     std::cerr << "Error opening info-output-file '"
               << LibSupportInfoOutputFilename << " for appending!\n";





More information about the llvm-commits mailing list