You can’t do this in C89, so please don’t do this in PETSc code since someone 
(me, will have to fix it later) 

src/dm/impls/da/dalocal.c: In function ‘DMDASetVertexCoordinates’:
src/dm/impls/da/dalocal.c:1192:5: warning: initializer element is not 
computable at load time [enabled by default]
     PetscInt ind[3] = {0, 0, k + da->zs}, d, off;

Barry

Reply via email to