The python wrapper build yields currently the followin (relevant) includes (observable with -Cbuild.verbose=true)
-I■■■/petsc4py/include
-I■■■/mpi4py/include
-isystem ■■■/dolfinx/include
-isystem ■■■/ffcx/ffcx/codegeneration
-isystem ■■■/basix/include
-isystem ■■■/open-mpi/5.0.8/include
-isystem ■■■/adios2/include
-isystem ■■■/petsc/include
In particular, dolfinx is marked as a system include - rendering any compiler warning raised there as suppressed. As the wrapper build is one of the main sources for compiler warning checks on the cpp library, this needs to be altered.
This is tricky to resolve, as the transitive dependencies of dolfinx (PETSc, adios2, ...) should not be marked as non-system headers, however are propagated in the same manner.
The python wrapper build yields currently the followin (relevant) includes (observable with
-Cbuild.verbose=true)In particular,
dolfinxis marked as a system include - rendering any compiler warning raised there as suppressed. As the wrapper build is one of the main sources for compiler warning checks on the cpp library, this needs to be altered.This is tricky to resolve, as the transitive dependencies of
dolfinx(PETSc,adios2, ...) should not be marked as non-system headers, however are propagated in the same manner.