[petsc-dev] Fortran 2003 enum

Jed Brown jed at 59A2.org
Tue Dec 7 11:34:08 CST 2010


On Tue, Dec 7, 2010 at 18:24, Matthew Knepley <knepley at gmail.com> wrote:

> It is present and mandated to be interoperable with C enums. Blaise pointed
> this
> out to me. Do any compilers at MCS support this?
>

Gfortran got it in version 4.1, I think, all the major commercial compilers
support it.

http://gcc.gnu.org/wiki/Fortran2003Status

On that note, calling C functions from Fortran 2003 is much easier and you
don't have to play the name mangling game.  How many people use F2003?

Jed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101207/07baa06b/attachment.html>


More information about the petsc-dev mailing list