[petsc-dev] PETSCXXX_DLLEXPORT usage

Jed Brown jed at 59A2.org
Sat Jan 9 14:03:53 CST 2010


Is there a circumstance where PETSCXXX_DLLEXPORT expands to a different
value from PETSCYYY_DLLEXPORT?  I ask because there are several cases
that look wrong to me.  E.g. PetscSubcommCreate (in libpetsc) uses
PETSCMAT_DLLEXPORT, as does MatCreateSchurComplement (in libpetscksp)
and MatCreateSeqUSFFT (in libpetscdm).  If they always expand to the
same thing, why bother distinguishing?

Jed



More information about the petsc-dev mailing list