[petsc-dev] Fwd: PETSc coding tips
Jed Brown
jed at jedbrown.org
Wed Feb 4 14:19:30 CST 2015
Barry Smith <bsmith at mcs.anl.gov> writes:
> So, why don't we have a "developers" mode that forces C89 only that
> we use by default? This is needed by new PETSc developers who have
> C99 burnt into their brains.
It's CFLAGS=-std=c89, but that turns off lots of library features that
are not in the base standard (unless we define _GNU_SOURCE, for
example). It's not clear to me whether we need to continue supporting
C89 or if we can start using a few C99 features.
https://msdn.microsoft.com/en-us/library/hh409293.aspx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20150204/dc7e67b4/attachment.sig>
More information about the petsc-dev
mailing list