| af5c8c03 | 10-Oct-2022 |
Satish Balay <balay@mcs.anl.gov> |
petsc4y: fix build with --with-log=0
Reported-by: Victor Eijkhout <eijkhout@tacc.utexas.edu>
In file included from /home1/apps/gcc9_1/impi19_0/petsc/3.18/include/petscsys.h:1444, f
petsc4y: fix build with --with-log=0
Reported-by: Victor Eijkhout <eijkhout@tacc.utexas.edu>
In file included from /home1/apps/gcc9_1/impi19_0/petsc/3.18/include/petscsys.h:1444, from /home1/apps/gcc9_1/impi19_0/petsc/3.18/include/petscbag.h:5, from /home1/apps/gcc9_1/impi19_0/petsc/3.18/include/petsc.h:5, from src/petsc4py.PETSc.c:604, from src/PETSc.c:4: /home1/apps/gcc9_1/impi19_0/petsc/3.18/include/petsclog.h:560:45: error: expected identifier or '(' before numeric constant 560 | #define PetscLogEventGetPerfInfo(a, b, c) 0 | ^ src/include/custom.h:147:1: note: in expansion of macro 'PetscLogEventGetPerfInfo' 147 | PetscLogEventGetPerfInfo(int stage,PetscLogEvent event,PetscEventPerfInfo *info) | ^~~~~~~~~~~~~~~~~~~~~~~~
show more ...
|