LLVM 2.7 installation

I am trying to install llvm- py . It requires LLVM 2.7
I get the following error when trying to install llvm 2.7

LoopStrengthReduce.cpp:2820:21: error: call to ‘next’ is ambiguous
BetterPos = next(BasicBlock::iterator(Inst));

Can you please tell me how i should fix this ?

Thank you

Adding a llvm:: prefix (llvm::next) should work. LLVM 2.7 is
incompatible with most C++11 standard libraries.

- Ben