[petsc-dev] Windows error in pipeline with cxx file

Mark Adams mfadams at lbl.gov
Sun Jul 12 12:58:22 CDT 2020


On Sun, Jul 12, 2020 at 1:44 PM Barry Smith <bsmith at 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 <mfadams at 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 */
> >       |                  ^~~~~
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200712/9df5ccdf/attachment.html>


More information about the petsc-dev mailing list