On Jun 4, 2009, at 9:16 AM, Rainer Keller wrote:
arch.h:53:** The fortran integer is dismissed here, since there is no
arch.h:54:** platform known to me, were fortran and C-integer do not
match
> You can tell the intel compiler (and maybe others?) to compile
> fortran with double-sized integers and reals. Are we disregarding
> this? I.e., does this make this portion of the datatype
> heterogeneity detection incorrect?
IMHO the comment is correct. Let me rephrase my last email to be
more exact:
Within architectural representation, we disregard representation of
Fortran
INTEGER, as there needs to be some equivalent C integral type in
order to
support it.
I understand your explanation, but I don't think you're saying the
same thing as that comment. The comment is wrong, or perhaps it is
misleading/imprecise: one possible interpretation of the current
comment text is that it implies that there is no platform where
fortran INTEGER and C int are not the same representation -- and that
is wrong.
What I think you're saying is that that is not how the comment is
intended; that it is intended to say "we only support fortran integer
datatypes that have corresponding C integer datatypes." In which case
we should say *that*, not the misleading/imprecise comment that is
there now. :-)
--
Jeff Squyres
Cisco Systems