<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#c7">Comment # 7</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>In case it helps, it appears that MSVC always treats enum values as signed int.
E.g. see:
<a href="http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit-fields/1013665">http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit-fields/1013665</a>
GCC appears to use unsigned int if no enum values are negative.
<a href="http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations-and-bit_002dfields-implementation.html">http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations-and-bit_002dfields-implementation.html</a>
The implication is that bit-fields may be a bit short if specified as GLuint.</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>