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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 11 10:10:37 PDT 2013


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

--- Comment #7 from Keith Kriewall <keith.kriewall at attachmate.com> ---
In case it helps, it appears that MSVC always treats enum values as signed int.
 E.g. see:
 
http://compgroups.net/comp.lang.c++/problem-with-visual-c++-7.1.3088-and-bit-fields/1013665

GCC appears to use unsigned int if no enum values are negative.
 
http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Structures-unions-enumerations-and-bit_002dfields-implementation.html

The implication is that bit-fields may be a bit short if specified as GLuint.

-- 
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/20130311/44eb4153/attachment.html>


More information about the mesa-dev mailing list