[llvm-commits] CVS: llvm/include/Support/STLExtras.h

Brian Gaeke gaeke at cs.uiuc.edu
Sat Nov 22 18:56:01 PST 2003


Changes in directory llvm/include/Support:

STLExtras.h updated: 1.11 -> 1.12

---
Log message:

This is a hack to make this file compile under g++-3.0.x; 
otherwise it can't decide what std::pair is. It seemed relatively
harmless.


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

Index: llvm/include/Support/STLExtras.h
diff -u llvm/include/Support/STLExtras.h:1.11 llvm/include/Support/STLExtras.h:1.12
--- llvm/include/Support/STLExtras.h:1.11	Wed Nov 12 22:11:30 2003
+++ llvm/include/Support/STLExtras.h	Sat Nov 22 18:55:27 2003
@@ -18,6 +18,7 @@
 #define SUPPORT_STLEXTRAS_H
 
 #include <functional>
+#include <map>  // G++-3.0.x will find std::pair here.
 #include "Support/iterator"
 
 namespace llvm {





More information about the llvm-commits mailing list