Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29327 Discussions

Error message improvement suggestion (structure length)

jimdempseyatthecove
Honored Contributor III
870 Views

When the following error message is generated:

... warning #6380: The structure length is not a multiple of its largest element; could create misalignments for arrays of this type. [...]

I think it would be helpful to provide the missing information, such as:

... warning #6380: The structure length (nnn) is not a multiple of its largest element (mmm); could create misalignments for arrays of this type. [...]

Jim Dempse

0 Kudos
1 Reply
jimdempseyatthecove
Honored Contributor III
870 Views

Similar thing with

...warning #6379: The structure contains one or more misaligned fields.
 

If you could list the first misaligned item, it would help immensely in locating the error (problem)

Jim Dempsey

0 Kudos
Reply