[petsc-dev] Preprocessor hell: #define VecType

Jose E. Roman jroman at dsic.upv.es
Thu Oct 4 04:02:18 CDT 2012


El 04/10/2012, a las 03:40, Satish Balay escribió:

> Which XXXType shows this problem?
> 
> I've checked a couple and they look fine.
> 
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Vec/VecType.html
> vs
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/Vec/VecType.html
> 
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/KSP/KSPType.html
> vs
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/KSP/KSPType.html
> 
> http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/TS/TSType.html
> vs
> http://www.mcs.anl.gov/petsc/petsc-dev/docs/manualpages/TS/TSType.html
> 
> Satish


Oops. I saw the problem in SLEPc only - did not check in PETSc.
The problem is not due to changing to typedef, but because I was using /*E .. E*/ comments instead of /*J .. J*/
Fixed now. Sorry for the noise.

Jose




More information about the petsc-dev mailing list