<div dir="ltr"><div>The warnings below are from a C build. A C++ build fails right away.</div><div><br></div><div>We need to `#include <petscsection.h>` somewhere in the public headers, at least such that  `#include <petsc.h>` in user code works.</div><div><br></div><div>$ git grep petscsection include/<br>include/petsc/private/sectionimpl.h:#include <petscsection.h><br>include/petscis.h:#include <petscsectiontypes.h><br>include/petscsection.h:#include <petscsectiontypes.h><br></div><div><br></div><div><br></div>/home/devel/petsc/dev/src/snes/utils/convest.c: In function ‘PetscConvEstGetConvRate’:<br>/home/devel/petsc/dev/src/snes/utils/convest.c:293:14: warning: implicit declaration of function ‘PetscSectionGetField’; did you mean ‘PetscSectionVecView’? [-Wimplicit-function-declaration]<br>  293 |       ierr = PetscSectionGetField(s, f, &fs);CHKERRQ(ierr);<br>      |              ^~~~~~~~~~~~~~~~~~~~<br>      |              PetscSectionVecView<br>/home/devel/petsc/dev/src/snes/utils/convest.c:294:14: warning: implicit declaration of function ‘PetscSectionGetConstrainedStorageSize’ [-Wimplicit-function-declaration]<br>  294 |       ierr = PetscSectionGetConstrainedStorageSize(fs, &lsize);CHKERRQ(ierr);<br>      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Lisandro Dalcin<br>============<br>Research Scientist<br>Extreme Computing Research Center (ECRC)<br>King Abdullah University of Science and Technology (KAUST)<br><a href="http://ecrc.kaust.edu.sa/" target="_blank">http://ecrc.kaust.edu.sa/</a><br></div></div></div></div>