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

            Bug ID: 96770
           Summary: include/GL/mesa_glinterop.h:62: error: redefinition of
                    typedef ‘GLXContext’
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Keywords: bisected, regression
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

mesa: 07cc838b105dd3f34526db73064f1f21b452240e (master 12.1.0-devel)

Build error with GCC 4.4.

  Compiling src/glx/dri_common_interop.c ...
In file included from src/glx/dri_common_interop.c:33:
include/GL/mesa_glinterop.h:62: error: redefinition of typedef ‘GLXContext’
include/GL/glx.h:165: note: previous declaration of ‘GLXContext’ was here


commit 8472045b16b3e4621553fe451a20a9ba9f0d44b6
Author: Emil Velikov <[email protected]>
Date:   Tue May 3 12:25:34 2016 +0100

    mesa_glinterop: remove inclusion of GLX header

    Since we only need partial information about the GLX symbols we can
    forward declare them and drop the include. Obviously each user of the
    said API will needs more than what's provides, so they'll include the
    GLX header.

    If they don't, the compiler will give us a nice warning ;-)

    Signed-off-by: Emil Velikov <[email protected]>
    Reviewed-by: Marek Olšák <[email protected]>
    Tested-by: Tom Stellard <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to