<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in src_register() during glClear() call"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58718#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Crash in src_register() during glClear() call"
href="https://bugs.freedesktop.org/show_bug.cgi?id=58718">bug 58718</a>
from <span class="vcard"><a class="email" href="mailto:keith.kriewall@attachmate.com" title="Keith Kriewall <keith.kriewall@attachmate.com>"> <span class="fn">Keith Kriewall</span></a>
</span></b>
<pre>VS 2012 refuses to compile Mesa due to macro definition of "inline".
====
F:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\INCLUDE\xkeycheck.h(199): warning C4005: 'inline' : macro redefinition
command-line arguments : see previous definition of 'inline'
F:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\INCLUDE\xkeycheck.h(242): fatal error C1189: #error : The C++ Standard
Library forbids macroizing keywords. Enable warning C4005 to find the forbidden
macro.
scons: *** [build\windows-x86\mesa\main\ff_fragment_shader.obj] Error 2
====
I've tried downloading 9.0.3 and 9.1, no change. I had expected to see
inline/INLINE changes in the source per the following ..
<a href="http://lists.freedesktop.org/archives/mesa-dev/2011-July/009586.html">http://lists.freedesktop.org/archives/mesa-dev/2011-July/009586.html</a>
.. but the code appears unchanged. I've tried commenting out all '#define
inline' code (4 Mesa headers with duplicate code), but I still get the error.
LLVM doesn't define 'inline' that I can see. So at this point, I don't know
from where VS 2012 is getting the definition. Any suggestions would be
appreciated.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>