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 on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29285 Discussions

Error message improvement suggestion (structure length)

jimdempseyatthecove
Honored Contributor III
809 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
809 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