<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hello,<br></div><div><br></div><div>In petscmat.h, the line "#define MatSolverPackage char*" shouldn't it be replaced with "<strong>typedef</strong> char* MatSolverPackage" ? (like it's done for MatType and others)<br></div><div><br></div><div>When trying to use MatSolverPackage from a cpp file where "petsc.h" and "petscmat.h" have been included I get this error : <span id="750-6" class="red">error: </span><span id="750-7">‘</span><span id="750-8">MatSolverPackage</span><span id="750-9">’ does not name a type; did you mean ‘</span><span id="750-10">MatSolverType</span><span id="750-11">’?</span>.</div><div>Looks like this error does occur, or not, depending on compiler / OS : this is OK with debian but not with ubuntu-trusty (line 2191 here <a href="https://travis-ci.org/fghoussen/geneo4PETSc/jobs/334384582">https://travis-ci.org/fghoussen/geneo4PETSc/jobs/334384582</a>).</div><div>I would say the compile error can occur, or not, according to what -fvisibility defaults to.<br></div><div><br></div><div>Not sure of this...<br></div><div><br></div><div>Franck<br></div></div></body></html>