[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/Makefile bjarne.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Oct 4 20:42:27 PDT 2004



Changes in directory llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes:

Makefile added (r1.1)
bjarne.cpp updated: 1.1 -> 1.2
---
Log message:

Make this compile


---
Diffs of the changes:  (+9 -1)

Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/Makefile
diff -c /dev/null llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/Makefile:1.1
*** /dev/null	Mon Oct  4 22:42:26 2004
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/Makefile	Mon Oct  4 22:42:16 2004
***************
*** 0 ****
--- 1,7 ----
+ LEVEL = ../../../..
+ 
+ PROG     = shapes
+ #LIBS  = -lstdc++
+ LDFLAGS = -lstdc++
+ include $(LEVEL)/MultiSource/Makefile.multisrc
+ 


Index: llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/bjarne.cpp
diff -u llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/bjarne.cpp:1.1 llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/bjarne.cpp:1.2
--- llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/bjarne.cpp:1.1	Mon Oct  4 15:01:15 2004
+++ llvm-test/MultiSource/Benchmarks/Prolangs-C++/shapes/bjarne.cpp	Mon Oct  4 22:42:16 2004
@@ -1,7 +1,8 @@
 /* this program is taken from Section 6.4
    in Bjarne Stroustrup's book "The C++ Programming Language" 2nd Edition. */
-#include <iostream.h>
+#include <iostream>
 #include "bjarne.h"
+using namespace std;
 
 enum color {black='*', white=' '};
 






More information about the llvm-commits mailing list