[LLVMdev] Missing STL include in CVS prevent compilation on vc++.

Baptiste Lepilleur gaiacrtn at free.fr
Fri Sep 9 16:14:46 PDT 2005


See patch below (std::remove is used but the corresponding header is not 
included).

Baptiste.

Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
===================================================================
RCS file: /var/cvs/llvm/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp,v
retrieving revision 1.9
diff -u -r1.9 DAGCombiner.cpp
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp       8 Sep 2005 
20:18:10 -0000       1.9
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp       9 Sep 2005 
23:11:42 -0000
@@ -41,6 +41,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Target/TargetLowering.h"
 #include <cmath>
+#include <algorithm>
 using namespace llvm; 




More information about the llvm-dev mailing list