Re: [petsc-dev] Missing typedef ?

2018-01-29 Thread Franck Houssen
I confirm this is now OK at my side on master. Thanks. Franck - Mail original - > De: "Barry F. Smith" <bsm...@mcs.anl.gov> > À: "Franck Houssen" <franck.hous...@inria.fr> > Cc: "petsc-dev" <petsc-dev@mcs.anl.gov> > Envoy

Re: [petsc-dev] Missing typedef ?

2018-01-28 Thread Smith, Barry F.
Yes, this is due to a change in the API. But it is odd that this particular one is declared with a #define instead of typedef like the rest, so I have updated this type to use a typedef in the branch barry/fix-matsolvertype Barry > On Jan 28, 2018, at 10:50 AM, Franck Houssen

Re: [petsc-dev] Missing typedef ?

2018-01-28 Thread Smith, Barry F.
> On Jan 28, 2018, at 10:50 AM, Franck Houssen wrote: > > Hello, > > In petscmat.h, the line "#define MatSolverPackage char*" shouldn't it be > replaced with "typedef char* MatSolverPackage" ? (like it's done for MatType > and others) You are correct. > > When

Re: [petsc-dev] Missing typedef ?

2018-01-28 Thread Jose E. Roman
MatSolverPackage has been renamed to MatSolverType in a recent commit in master. Jose > El 28 ene 2018, a las 17:50, Franck Houssen > escribió: > > Hello, > > In petscmat.h, the line "#define MatSolverPackage char*" shouldn't it be > replaced with "typedef char*

[petsc-dev] Missing typedef ?

2018-01-28 Thread Franck Houssen
Hello, In petscmat.h, the line "#define MatSolverPackage char*" shouldn't it be replaced with " typedef char* MatSolverPackage" ? (like it's done for MatType and others) When trying to use MatSolverPackage from a cpp file where "petsc.h" and "petscmat.h" have been included I get this error