On Sun, Jul 12, 2020 at 1:44 PM Barry Smith <bsm...@petsc.dev> wrote:
> > So you have includes for both ViennaCL and Kokkos in the same source > file? > No. I cloned the syntax for ViennaCL for the Kokkos 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? https://gitlab.com/petsc/petsc/-/jobs/634906939 > > > Maybe you can compile in the problem directory with -E and send all the > output, looking for duplicates of this declaration. > The error is in the pipeline. I don't have this machine. > > Barry > > > > On Jul 12, 2020, at 11:51 AM, Mark Adams <mfad...@lbl.gov> 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 */ > > | ^~~~~ > >