Use the #pragma poison to immedately detect when the code accidently has PetscDefined(PETSC_xxx) while compiling
Need to use a seperate file because Fortran also includes petscconf.h and does not ha
Use the #pragma poison to immedately detect when the code accidently has PetscDefined(PETSC_xxx) while compiling
Need to use a seperate file because Fortran also includes petscconf.h and does not handle #if defined() properly
Test that the pragma works so it is only used if the C/C++ compiler does not complain about it.
Commit-type: error-checking /spend 10m Thanks-to: Jacob Faibussowitsch <jacob.fai@gmail.com>
show more ...
|