And Fortran 2003:
"5.4 NAMELIST statement"
"C574 (R553) A namelist-group-object shall not be an assumed-size array."
"A namelist group object shall either be accessed by use or host association or
shall have its type, type parameters, and shape specified by previous
specification statements or the procedure heading in the same scoping unit or
by the implicit typing rules in effect for the scoping unit. If a namelist
group object is typed by the implicit typing rules, its appearance in any
subsequent type declaration statement shall confirm the implied type and type
parameters."
I have actually some problems in fully understanding the Fortran 2003 text.
Note that Richard Main wrote in that thread:
"I'll also note that I don't see any big reason why the standard
couldn't be extended to allow this in the future. When Namelist was
added to the standard (in f90), it was done in a pretty conservative and
minimalist fashion in several regards. In my personal judgement, this
particular restriction was probably overkill in that I wouldn't expect
it to be hard to implement in
most compilers."
Given that he knows the standard pretty well, it indicates that it might
indeed be still not allowed in F2003.