On Sat, 7 Mar 2020 at 08:48, Jed Brown <[email protected]> wrote: > I have a question for petsc-dev: Do you know anyone who needs to build > PETSc with a compiler that doesn't support variadic macros and for-loop > declarations? (Both of these are in C99 and C++11, and supported by all > tested configurations including compilers that don't fully implement > these standards.) Both MPICH and Open MPI use variable-length arrays > and for-loop declarations, so you'd be hard-pressed building a modern > stack with such a compiler. I'm not proposing that we put these macros > unguarded into the public headers, so a user of PETSc could still build > with -std=c89 and the like. > > Definitely +1 for variadic macros and for-loop declarations, but not VLAs.
-- Lisandro Dalcin ============ Research Scientist Extreme Computing Research Center (ECRC) King Abdullah University of Science and Technology (KAUST) http://ecrc.kaust.edu.sa/
