[LLVMdev] MSVC compiling issue

Óscar Fuentes ofv at wanadoo.es
Tue Mar 8 05:57:05 PST 2011


Olaf Krzikalla <Olaf.Krzikalla at tu-dresden.de> writes:

> Hi @llvm,
>
> building a debug version under MSVC 9 leads to a compiler error due to a 
> mix of different types in a call to upper_bound. I have attached a 
> hot-fix but I'm rather unsure if it should be applied as it is, since 
> IMHO the reason is a MSVC library bug ("IMHO", because I don't know the 
> requirements imposed to the predicate by the standard).

I think that the original author just missed a `const'. Fixed in r127245.




More information about the llvm-dev mailing list