[petsc-dev] What needs to be done before a release?

Satish Balay balay at mcs.anl.gov
Wed May 30 00:40:02 CDT 2012


On Tue, 29 May 2012, Barry Smith wrote:

> 
>    I have changed PetscBagRegisterEnum() to now properly copy the list of enum strings values
> 

/home/balay/spetsc/src/sys/bag/bag.c: In function ‘PetscBagRegisterEnum’:
/home/balay/spetsc/src/sys/bag/bag.c:79:3: warning: passing argument 2 of ‘PetscStrArrayallocpy’ from incompatible pointer type [enabled by default]
/home/balay/spetsc/include/petscsys.h:1156:29: note: expected ‘char ***’ but argument is of type ‘const char ***’
/home/balay/spetsc/src/sys/bag/bag.c: In function ‘PetscBagDestroy’:
/home/balay/spetsc/src/sys/bag/bag.c:473:7: warning: passing argument 1 of ‘PetscStrArrayDestroy’ from incompatible pointer type [enabled by default]
/home/balay/spetsc/include/petscsys.h:1157:29: note: expected ‘char **’ but argument is of type ‘const char **’

if anyone has a better fix - do correct the following.
http://petsc.cs.iit.edu/petsc/petsc-dev/rev/c62350f780f9

Satish


More information about the petsc-dev mailing list