[petsc-dev] Fortran 2003 enum

Matthew Knepley knepley at gmail.com
Tue Dec 7 11:35:30 CST 2010


On Tue, Dec 7, 2010 at 11:34 AM, Jed Brown <jed at 59a2.org> wrote:

> 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?
>

I use gfortran 4.6.0 for Mac.

   Matt


> Jed
>
-- 
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101207/3753a97f/attachment.html>


More information about the petsc-dev mailing list