<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p><span style="font-size: 12pt;">AFAICS, this code is only used when </span><span style="font-size: 12pt;">USE_X86_ASM/</span><span style="font-size: 12pt;">USE_X86_64_ASM.  These are never defined on Windows (we never use the assembly files on Windows, regardless
 which compiler is used), therefore there should be no impact to MSVC or Windows builds.</span><br>
</p>
<p><span></span></p>
<p><span><br>
</span></p>
<p><span>Acked-by: Jose Fonseca <jfonseca@vmware.com></span></p>
<p><span><br>
</span></p>
<p><span>Jose</span></p>
<div><br>
</div>
PS: Thanks for CC'ing me.  Please feel free to do so whenever feedback concerning MSVC/Windows build is sought.<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Emil Velikov <emil.l.velikov@gmail.com><br>
<b>Sent:</b> Tuesday, July 19, 2016 12:41<br>
<b>To:</b> Matt Turner; Brian Paul; Jose Fonseca<br>
<b>Cc:</b> mesa-dev@lists.freedesktop.org; 9.2<br>
<b>Subject:</b> Re: [Mesa-stable] [PATCH] mapi: Massage code to allow clang to compile.</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 18 July 2016 at 21:54, Matt Turner <mattst88@gmail.com> wrote:<br>
> On Mon, Jul 11, 2016 at 10:49 AM, Matt Turner <mattst88@gmail.com> wrote:<br>
>> According to <a href="https://llvm.org/bugs/show_bug.cgi?id=19778#c3" id="LPlnk430253">
https://llvm.org/bugs/show_bug.cgi?id=19778#c3</a> this code<br>
>> was violating the spec, resulting in it failing to compile.<br>
>><br>
>> Cc: mesa-stable@lists.freedesktop.org<br>
>> Co-authored-by: Tomasz Paweł Gajc <tpgxyz@gmail.com><br>
>> Bugzilla: <a href="https://bugs.freedesktop.org/show_bug.cgi?id=89599">https://bugs.freedesktop.org/show_bug.cgi?id=89599</a><br>
>> ---<br>
>> I've tried for months to reproduce this, and I've still never been<br>
>> able to on 64-bit builds. I can reproduce it on 32-bit however.<br>
>><br>
>> On MSVC, this patch will have the effect of changing the variables<br>
>> from static to extern. I do not know if this will adversely affect<br>
>> anything, so this patch would benefit from MSVC testing.<br>
><br>
> Ping...<br>
As mentioned before I'm not sure if C11 text should be applicable,<br>
considering we're explicitly using c99/gnu99. That said it doesn't<br>
make things explode afaics so let's merge it.<br>
<br>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com><br>
<br>
The Windows build and tests to pass on AppVeyor [1] but the patch<br>
could use some real world testing. Brian, Jose ?<br>
<br>
Thanks<br>
Emil<br>
<br>
[1] <a href="https://ci.appveyor.com/project/evelikov/mesa-4up2g">https://ci.appveyor.com/project/evelikov/mesa-4up2g</a><br>
</div>
</span></font></div>
</div>
</body>
</html>