[Mesa-dev] [Bug 96236] dri_interface.h:404: error: redefinition of typedef ‘mesa_glinterop_device_info’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jun 1 15:07:46 UTC 2016


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

Emil Velikov <emil.l.velikov at gmail.com> changed:

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

--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
Should be fixed with

commit 13faddb6b8e30ff0e81e62fb863304a57c712aae
Author: Emil Velikov <emil.velikov at collabora.com>
Date:   Mon May 30 10:56:33 2016 +0100

    mesa_glinterop: remove mesa_glinterop typedefs

    As is there are two places that do the typedefs - dri_interface.h and
    this header. As we cannot include the former in here, just drop the
    typedefs and use the struct directly (as needed).

    This is required because typedef redefinition is C11 feature which is
    not supported on all the versions of GCC used to build mesa.

    v2: Kill the typedef alltogether, as per Marek.

    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96236
    Cc: Vinson Lee <vlee at freedesktop.org>
    Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
    Reviewed-by: Marek Olšák <marek.olsak at amd.com>

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


More information about the mesa-dev mailing list