[LLVMdev] [cfe-dev] llvm (hence Clang) not compiling withVisual Studio 2008

Morten Ofstad morten at hue.no
Sat Jul 6 00:33:20 PDT 2013

There is some historical precedence for fixing the problem with VS 
lower_bound by changing the LLVM source - when I first got LLVM to compile 
with Visual Studio, patches for unsymmetric operator < were accepted into 
the LLVM repo, and I believe it's been done several times after that as 


>From: Ahmed Bougacha
>Sent: Friday, July 05, 2013 1:43 AM
>To: Benoit Perrot
>Cc: cfe-dev at cs.uiuc.edu ; llvmdev at cs.uiuc.edu
>Subject: Re: [LLVMdev] [cfe-dev] llvm (hence Clang) not compiling 
>withVisual Studio 2008
>On Thu, Jul 4, 2013 at 12:48 AM, Benoit Perrot 
><benoit.noe.perrot at gmail.com> wrote:
>>3. modify the code in MCModule.cpp to cope with the implementation of 
>>"lower_bound" in VS 2008.
>(3) Fixed in r185676.
>Requiring VS 2010 for a minor problem like this (even though there are more 
>like it) isn’t warranted I think.

More information about the llvm-dev mailing list