Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

t_accel type misalignment

vautier
Beginner
516 Views
After compiling my project with CVF 6.6C3 (from DF 5.0) the accelerators keys doesn't work anymore.

I find out that the type t_accel from DFWINTY.MOD whose size was 6 bytes in DF 5.0 is now 5 bytes long.

The CreateAcceleratorTable and CopyAcceleratorTable functions work only with a size of 6 bytes.

The type t_accel is defined as follow:
type t_accel
integer(byte) fvirt
integer(word) key
integer(word) cmd
end type

The difference of size is due to different packing between the two releases.

In order to prevent other problem does anyone encounter other structures in DFWINTY.MOD with the same packing problem?
0 Kudos
0 Replies
Reply