[petsc-dev] Fortran 2003 enum

Barry Smith bsmith at mcs.anl.gov
Tue Dec 7 11:33:28 CST 2010


On Dec 7, 2010, at 11:24 AM, Matthew Knepley 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?
> 

   Does gfortran support it?

   Are you proposing we introduce yet more ifdefs into our Fortran code to use them when they exist and not use them when they don't? I suggest waiting a few years, our handling of enums in Fortran is, I think, ok.

   Barry

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




More information about the petsc-dev mailing list