Thanks for the info Joåo. Do you think it'll be a lot of work to get to get it working against the test case?<div><br></div><div>@Nico: Do you have any idea how prevalent <a href="http://llvm.org/bugs/show_bug.cgi?id=13924">http://llvm.org/bugs/show_bug.cgi?id=13924</a> was when <span style="font-family:arial,sans-serif;font-size:13px">r</span><span style="font-family:arial,sans-serif;font-size:13px">163022 was live? Just wondering how risky it might be to integrate into my codebase for the time being.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Thanks!</span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Will.</span></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On 13 December 2012 01:33, Joćo Matos <span dir="ltr"><<a href="mailto:ripzonetriton@gmail.com" target="_blank">ripzonetriton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Actually I needed to apply this patch again yesterday in my local copy, and spent an hour debugging the test case Nico added. VS actually supports calling macros with less parameters than the ones on the declaration with just a warning. Clang will give an error in this case, so I think that's related.<div>


<br></div><div>I didn't spend much more time on it since for the moment that simple patch can get things going in the VS headers.<br><div><div><div class="h5"><br><div class="gmail_quote">On Wed, Dec 12, 2012 at 11:40 PM, Will Wilson <span dir="ltr"><<a href="mailto:will@indefiant.com" target="_blank">will@indefiant.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Joćo,<br><div class="gmail_extra"><br></div><div class="gmail_extra">Re r<span style="font-family:arial,sans-serif;font-size:13px">163022</span>: <span style="font-family:arial,sans-serif;font-size:13px">Emulate MSVC's preprocessor </span><span style="font-family:arial,sans-serif;font-size:13px">macro</span><span style="font-family:arial,sans-serif;font-size:13px"> argument separator behavior by not considering commas from nested </span><span style="font-family:arial,sans-serif;font-size:13px">macro</span><span style="font-family:arial,sans-serif;font-size:13px"> expansions as argument separators. Fixes parsing of </span><span style="font-family:arial,sans-serif;font-size:13px">VS</span><span style="font-family:arial,sans-serif;font-size:13px"> </span><span style="font-family:arial,sans-serif;font-size:13px">2012 </span><span style="font-family:arial,sans-serif;font-size:13px">headers.</span></div>




<div class="gmail_extra"><br></div><div class="gmail_extra">Did you make any further progress on getting clang compiling against the VS2012 headers? I ask as I'm running into this very issue just now and was rather hoping you might have a solution waiting in the wings ;) If not, I may try and take a look at in in the coming weeks. Any thoughts/patches greatly appreciated!</div>



<span><font color="#888888">
<div class="gmail_extra"><br></div><div class="gmail_extra">- Will.</div>
</font></span></blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>Joćo Matos<br>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="background-color:rgb(255,255,255);color:rgb(68,68,68);font-family:Arial,Helvetica,sans-serif"><b>Indefiant Ltd.</b></span></div><div><font color="#444444" face="Arial, Helvetica, sans-serif"><span style="font-size:12px"><b><br>
</b></span></font></div><font color="#444444" face="Arial, Helvetica, sans-serif"><span style="font-size:12px">Firsby Lodge, New Main Road, Scamblesby, Louth, Lincs LN11 9XH UK<br></span></font><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;background-color:rgb(255,255,255)">
<span style="color:rgb(68,68,68);font-family:Arial,Helvetica,sans-serif;font-size:x-small"><i>Tel: +44 20 8123 7663 England Registered No. 07936820 VAT No. </i></span><span style="background-color:transparent"><font color="#444444" face="Arial, Helvetica, sans-serif" size="1"><i>128556202</i></font></span></div>
<br>
</div>