[Mesa-dev] [Bug 96235] st_nir.h:34: error: redefinition of typedef ‘nir_shader’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 1 07:21:31 UTC 2016


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

Vinson Lee <vlee at freedesktop.org> changed:

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

--- Comment #2 from Vinson Lee <vlee at freedesktop.org> ---
commit 3fea592c4eb26f6652bef1e5dc430e2296e14bac
Author: Vinson Lee <vlee at freedesktop.org>
Date:   Wed Jun 29 20:15:03 2016 -0700

    mesa/st: Use 'struct nir_shader' instead of 'nir_shader'.

    Fix this build error with GCC 4.4.

      CC     state_tracker/st_nir_lower_builtin.lo
    In file included from state_tracker/st_nir_lower_builtin.c:61:
    state_tracker/st_nir.h:34: error: redefinition of typedef ‘nir_shader’
    ../../src/compiler/nir/nir.h:1830: note: previous declaration of
‘nir_shader’ was here

    Suggested-by: Rob Clark <robdclark at gmail.com>
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96235
    Signed-off-by: Vinson Lee <vlee at freedesktop.org>
    Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
    Reviewed-by: Rob Clark <robdclark at gmail.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/20160701/4764d2b1/attachment.html>


More information about the mesa-dev mailing list