We should really try to find a workaround for this issue. The problem only triggers with a quite old GCC version. I cannot avoid feeling guilty about it.
On Mon, 13 Jul 2020 at 18:24, Satish Balay via petsc-dev < petsc-dev@mcs.anl.gov> wrote: > Checking src/mat/tests/ex231.cxx you need: > > diff --git a/src/dm/impls/plex/landau/kokkos/tutorials/ex1.cxx > b/src/dm/impls/plex/landau/kokkos/tutorials/ex1.cxx > index d04eaf96e7..967efc3625 100644 > --- a/src/dm/impls/plex/landau/kokkos/tutorials/ex1.cxx > +++ b/src/dm/impls/plex/landau/kokkos/tutorials/ex1.cxx > @@ -1,5 +1,7 @@ > static char help[] = "Simple Kokkos test\n\n"; > > +#define PETSC_SKIP_CXX_COMPLEX_FIX > #include <petscdmplex.h> > > > > Also #requiresdefine is not meant for example makefile. You can use: > > build: requires: in /*TEST section > > Satish > > > On Mon, 13 Jul 2020, Mark Adams wrote: > > > I have a wip C++ test that just calls PetscInitialize and Finalize, and I > > am getting some sort of error in the include file: > > > > https://gitlab.com/petsc/petsc/-/jobs/635768809 > > > > All I do is: > > > > #include <petscdmplex.h> > > > > Any ideas? > > Thanks, > > Mark > > > > -- Lisandro Dalcin ============ Research Scientist Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/