[Mesa-dev] [Bug 98691] egl.h:55: error: redefinition of typedef ‘EGLDisplay’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 30 04:57:36 UTC 2017


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

Vinson Lee <vlee at freedesktop.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 4e97084591c206338af4425c33edb833de348816
Author: Matt Turner <mattst88 at gmail.com>
Date:   Thu Jul 6 18:40:53 2017 -0700

    egl: Fix inclusion of egl.h+mesa_glinterop.h

    Previously clang would warn about redefinition of typedef EGLDisplay. Avoid
    this by adding preprocessor guards to mesa_glinterop.h and including it
    after EGL.h is indirectly included.

    Reviewed-by: Jordan Justen <jordan.l.justen at intel.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170830/96645708/attachment-0001.html>


More information about the mesa-dev mailing list