<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
> Date: Wed, 24 Aug 2011 20:47:09 -0400<br>> Subject: Re: [cfe-dev] Support for MS keyword __ptr32.<br>> From: pichet2000@gmail.com<br>> To: christopher_cudmore@hotmail.com<br>> CC: cfe-dev@cs.uiuc.edu<br>> <br>> On Wed, Aug 24, 2011 at 7:48 PM, Chris Cudmore<br>> <christopher_cudmore@hotmail.com> wrote:<br>> > Hello Clang, Doug,<br>> ><br>> > Find attached a patch that adds support for MS keyword __ptr32, please can<br>> > you review. This is my first patch and I did create it using svn diff on a<br>> > Windows system, is it correctly formatted please (CRLF etc)?<br>> > This patch resolves problems parsing windows.h where BaseTsd.h includes a<br>> > macro that defines POINTER_32. This is on a Win 7 x64 VS 2010 platform using<br>> > the following command line (supplied by Francois Pichet who has done<br>> > outstanding work on Windows support to date);<br>> <br>> Hi, I committed in r138533<br>> Watch out the tab and the 80 columns formatting. see:<br>> <a href="http://llvm.org/docs/CodingStandards.html">http://llvm.org/docs/CodingStandards.html</a><br><BR>Thanks for the review, addition of testcase and committing so quick, much appreciated!<BR><br>> > Would like to work on continued support for Windows but am unsure what is<br>> > realistically achievable and where to start? Also, from Apple's perspective,<br>> > what are you looking for with regard to Windows Interop?<br>> > I guess my ideal endpoint would be full code generation using just Windows<br>> > headers and libraries providing the option to replace the Windows<br>> > compiler and linker thereby getting all the cool features that are<br>> > constantly being added to clang, especially static analysis. Understand that<br>> > there are issues linking primarily with name manglling, any work going on<br>> > here? Then larger issues with loadable modules not being supported (this one<br>> > I do not understand too well therefore have no idea if this can be<br>> > resolved?)<br>> <br>> It is really up to you to contribute if you want to.<br>> Personally, I am focusing on adding Microsoft C/C++ extensions to the<br>> clang frontend with the goal of using the static analyzer on MSVC<br>> projects.<BR> <BR>Thanks again for the advice.. It's a hobby for me, my day job is Windows managed code and as I am far from a SME, cautious about what's sensible development in this space.<BR> <BR>--Chris<BR> <BR>BTW, replace the word 'Apple's' with 'the communities' in my initial mail, not looking for a corporate statement. Sorry about that!<BR><br> <BR>                                      </div></body>
</html>