[Mesa-dev] [Bug 57802] New: including GL/gl.h and another gl header causes redefinition warnings

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Dec 2 03:47:46 PST 2012


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

          Priority: medium
            Bug ID: 57802
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: including GL/gl.h and another gl header causes
                    redefinition warnings
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ystreet00 at gmail.com
          Hardware: Other
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

GL/gl.h provides some definitions (GL_FALSE, GL_ONE, etc) that have the same
value as other gl headers but are represented differently (0 vs 0x0 and 1 vs
0x1). This causes compiler warnings about redefining such definitions when
including GL/gl.h with other gl headers.

The Khronos gl headers are consistent.

-- 
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/20121202/19ee2451/attachment.html>


More information about the mesa-dev mailing list