[LLVMdev] LLVM with Microsoft Visual Studio

Jeff Cohen jeffc at jolt-lang.org
Mon Mar 12 12:44:48 PDT 2007


Andreas Fredriksson wrote:
> On 3/12/07, Jeff Cohen <jeffc at jolt-lang.org> wrote:
>
>> That's what we do.  We define it in llvm/lib/System/Win32/Win32.h, which
>> in included by every file that uses the Win32 API.  There is no reason
>> for you to redefine it.  Changing it to an earlier version will cause
>> build failures, changing it to a later version will have no effect,
>> other than to permit the use of more recent Win32 APIs that will prevent
>> LLVM from running on versions as old as Windows 2000.
>
> Yes; my point was merely that in some build environments it's
> convenient to just define it to , say, Windows XP all across the
> solution with a property sheet (as we had done).

But why modify our solution to make this change?  How is it convenient 
to change something that worked, and in the process create a problem 
you'd like us to fix?  And, of course, when you pull the 2.0 tarball, 
you'll have to make the change all over again :)
>
> // A
>




More information about the llvm-dev mailing list