[Mesa-dev] [Bug 58718] Crash in src_register() during glClear() call

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 12 10:18:03 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=58718

--- Comment #13 from Keith Kriewall <keith.kriewall at attachmate.com> ---
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 ..
  http://lists.freedesktop.org/archives/mesa-dev/2011-July/009586.html
.. 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130312/335bab78/attachment.html>


More information about the mesa-dev mailing list