So you have includes for both ViennaCL and Kokkos in the same source file?
Usually the error message shows two sets of lines, where it found the new one and where it found the old one. Is this the complete error message? Maybe you can compile in the problem directory with -E and send all the output, looking for duplicates of this declaration. Barry > On Jul 12, 2020, at 11:51 AM, Mark Adams <[email protected]> wrote: > > I am getting pipeline errors for adams/feature-dmplex-snes-landau on > Windows-uni. mswin-gnu is fine. > > There are lots of errors, here is the start. I've tried to match > mat/viennacl, which has .cxx files, w/o luck. > > Any ideas? > Thanks, > Mark > > CXX arch-ci-mswin-uni/obj/dm/impls/plex/landau/kokkos/landau_kokkos.o > In file included from /usr/include/stdio.h:61, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/include/petscsys.h:225, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/include/petscis.h:7, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/include/petscvec.h:9, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/include/petscmat.h:6, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/include/petsc/private/dmpleximpl.h:4, > from > /home/glci2/builds/p34_q_s8/0/petsc/petsc/src/dm/impls/plex/landau/kokkos/landau_kokkos.cxx:5: > /usr/include/sys/types.h:165:18: error: conflicting declaration ‘typedef > __uid_t uid_t’ > 165 | typedef __uid_t uid_t; /* user id */ > | ^~~~~
