Baptiste Lepilleur
2005-Sep-09 23:14 UTC
[LLVMdev] Missing STL include in CVS prevent compilation on vc++.
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;
Chris Lattner
2005-Sep-09 23:54 UTC
[LLVMdev] Missing STL include in CVS prevent compilation on vc++.
On Sat, 10 Sep 2005, Baptiste Lepilleur wrote:> See patch below (std::remove is used but the corresponding header is not > included).Thanks a lot, applied: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050905/028201.html -Chris> 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; > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://nondot.org/sabre/ http://llvm.org/