[LLVMdev] 2.3 Pre-release available for testing

Tanya M. Lattner tonic at nondot.org
Wed May 21 10:24:32 PDT 2008



> Ok, I got the release_23 branch and added/removed files until it would build 
> without errors. I didn't have time to test the clang build, but at least this 
> patch will make things compile so someone else can test it.

I just sent a reply to Razvan with 3 patches that I think should be merged 
into the release branch. I want to keep it somewhat in sync with mainline. 
Can you try applying those 3 patches and let me know if it builds for you 
and what version of MSVC you have?

Thanks,
Tanya

>
> m.
>
> PS. Visual Studio really hates how the operator new is overridden in 
> User.h:42, you get thousands upon thousands of warnings of the form:
>
> warning C4291: 'void *llvm::User::operator new(size_t,size_t)' : no matching 
> operator delete found; memory will not be freed if initialization throws an 
> exception
>
> There's also quite a few other things you get warnings about, mixed use of 
> struct/class for the same thing and conversions from 64 bit to 32 bit that 
> are potentially unsafe. Also constantfolding.cpp has two functions that don't 
> return a value (but have assert(0 && ...) at the end) at line 622 and 605 
> without calling abort() -- Visual Studio give warnings about other places 
> that _do_ call abort() as well, but I guess that's fine.
>
>



More information about the llvm-dev mailing list