[Patch,gfortran] ENUMERATIONS and ENUMERATORS
Richard E Maine
Richard.Maine@nasa.gov
Tue Oct 11 22:31:00 GMT 2005
On Oct 11, 2005, at 1:43 PM, Tobias Schlüter wrote:
> Your code supports the form
> ENUM, BIND(C) etc.
> of ENUM declarations. It doesn't support the form
> ENUM (scalar-int-initialization-expr)
> and it can't easily be extended to do so...
Do note (everyone might know this, but I thought I'd mention just in
case) that only the BIND(C) form is in the f2003 standard. There were
some other forms in various drafts, but only the bind(c) one made it
into the actual standard. I'll abstain on the question of whether one
might or might want to implement the other form also anyway.
--
Richard Maine | Good judgment comes from experience;
Richard.Maine@nasa.gov | experience comes from bad judgment.
| -- Mark Twain
More information about the Fortran
mailing list