Re: Warning: The structure contains misaligned fields
- From: Craig Powers <enigma@xxxxxxxxxx>
- Date: Mon, 28 Apr 2008 13:35:22 -0400
blitheli wrote:
Thank you very much. I understand it now.
By the way, what is the most important role of "sequence" in
fortran?
The significance of SEQUENCE is that identically-declared types will be treated as identical (i.e. if you were to repeat your declaration of type(ccc) in a subroutine, it would be identical to the type(ccc) declared in the module and one could be used as an actual argument corresponding to the other as a dummy argument). The name implies that the memory layout will be exactly as declared, but the standard does not actually impose such a requirement.
.
- Follow-Ups:
- Re: Warning: The structure contains misaligned fields
- From: jamesgiles@xxxxxxx
- Re: Warning: The structure contains misaligned fields
- References:
- Warning: The structure contains misaligned fields
- From: blitheli
- Re: Warning: The structure contains misaligned fields
- From: Gordon Sande
- Re: Warning: The structure contains misaligned fields
- From: blitheli
- Warning: The structure contains misaligned fields
- Prev by Date: Re: Using external subroutines in OpenMP?
- Next by Date: Re: Polyhedron Benchmark Update
- Previous by thread: Re: Warning: The structure contains misaligned fields
- Next by thread: Re: Warning: The structure contains misaligned fields
- Index(es):
Relevant Pages
|
|