Morten Ofstad wrote: > the <functional> is needed because of this declaration: > > struct MachineBasicBlock2IndexFunctor > : std::unary_function<const MachineBasicBlock*, unsigned> { Which appears not to be used anywhere... Maybe you can just delete it (and the #include <algorithm> with it)? m.