[petsc-dev] errors compiling src/mat/coarsen/impls/hem/hem.c

Brad Aagaard baagaard at usgs.gov
Thu Mar 8 16:20:06 CST 2012


I am getting a couple of compiling errors when building petsc-dev that I 
just pulled. It looks like nonportable syntax (assuming this did compile 
on at least one machine) could be the problem.

The offending line is
static lList node_pool = {.next=0,.data.array=0};

/tools/common/petsc-dev/src/mat/coarsen/impls/hem/hem.c:18:27: error: 
expected primary-expression before ‘.’ token 

/tools/common/petsc-dev/src/mat/coarsen/impls/hem/hem.c:18:35: error: 
expected primary-expression before ‘.’ token

Thanks,
Brad




More information about the petsc-dev mailing list