[LLVMdev] LLVM 2.1 with VC++

Chris Lattner sabre at nondot.org
Wed Nov 7 09:58:47 PST 2007


On Wed, 7 Nov 2007, Cory Nelson wrote:
> I've come across a couple errors when building LLVM 2.1 in VC++ 2005.

You might want to try LLVM SVN.  I believe Hartmut has made several 
improvements.

> Also, I'd like to suggest adding the following to config.h, to
> eliminate the spurious deprecation warnings:
>
> #define _CRT_SECURE_NO_WARNINGS
> #define _SCL_SECURE_NO_WARNINGS
> #define _CRT_NONSTDC_NO_WARNINGS
>
> And moving #include "llvm/Config/config.h" in all the files above any
> other includes, so those will have the proper effect.

If LLVM SVN doesn't have these improvements, please consider sending in a 
patch, thanks!

> Finally, is the JIT considered stable under Windows?

Yes, several groups are using it.

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list