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
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
> 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
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*
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