[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?

Seung Jae Lee lee225 at uiuc.edu
Thu Feb 21 09:53:05 PST 2008


I use VS2005/Vista, which works well...

Thx,
Seung

---- Original message ----
>Date: Wed, 20 Feb 2008 12:02:29 +0800
>From: "Xi Wang" <xi.wang at gmail.com>  
>Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?  
>To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
>
>Hi there,
>
>Did anyone try VS2008/Vista?  There would a compile error (LLVM
>2.1/2.2) at Line 126 in the file DynamicLibrary.inc.
>// EnumerateLoadedModules(GetCurrentProcess(), ELM_Callback, 0);
>Maybe MS changed the parameter type in the latest platform SDK.
>
>A simple workaround.  At line 47 in the same file DynamicLibrary.inc,
>// static BOOL CALLBACK ELM_Callback(PSTR  ModuleName, ...
>change PSTR to PCSTR, and everything is OK.
>
>I don't know if this works for VS2005/XP.
>
>Xi
>_______________________________________________
>LLVM Developers mailing list
>LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



More information about the llvm-dev mailing list