[petsc-dev] Preprocessor hell: #define VecType

Jose E. Roman jroman at dsic.upv.es
Wed Oct 3 07:46:29 CDT 2012


El 03/10/2012, a las 05:06, Barry Smith escribió:

>  I have pushed the change for 
> #define XXXType char* to typedef const char* XXXType;   2f1984a65b4f 
> 
> Please fix or report any problems to petsc-dev at mcs.anl.gov
> 
> Congratulations to Karl for his first removal of undesirable #defines in PETSc :-)
> 
> Onward to a CPP free PETSc :-)
> 
> 
>   Barry
> 
> BTW: the nightly builds are terrible, people are pushing incompletely tested code.
> 

I think this change breaks 'make alldoc'
The manual page for XXXType no longer contains the available choices.

Jose




More information about the petsc-dev mailing list