On Mon, Jun 27, 2016 at 6:45 PM, Vinson Lee <v...@freedesktop.org> wrote: > 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
This error seems to imply that nir.h is already being included somehow. Does just removing the typedef solve the problem? Can we figure out how nir.h is already being included and remove that? _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev