Summary: | egl.h:55: error: redefinition of typedef ‘EGLDisplay’ | ||
---|---|---|---|
Product: | Mesa | Reporter: | Vinson Lee <vlee> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | medium | CC: | emil.l.velikov, jano.vilicic |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Vinson Lee
2016-11-11 22:49:59 UTC
I feared this might happen :-\ Vinson, can you please try a fix similar to c85b34ffd04f9a7a16fe30173474e857d0f42d5f commit 4e97084591c206338af4425c33edb833de348816 Author: Matt Turner <mattst88@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@intel.com> |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.