Software Archive
Read-only legacy content
17061 Discussions

Getting a shload of warnings with Commons

Intel_C_Intel
Employee
380 Views
I am in the process of porting a program that was written and intended to run on a Unix platform, over to a Windows platform. I believe that the program was originally written in Fortran95. The new compiler seems to be having issues with Common statements. Here is an example of the warning and a chunk of the code.

C:IRToolirtool_source_2.1.0oceanddt_cmn.f(59) : Warning: Because of COMMON, the alignment of object is inconsistent with its type [SENSOR_EL8]
real*8 sensor_el8

real*8 sensor_el8
real altitude, look_translate, xlook_translate, spiral, yaw
common /motion/ altitude, look_translate, xlook_translate,
> sensor_el8, spiral, yaw

Can you see anything wrong with this? Thanks for all your help.

- Nick
0 Kudos
1 Reply
Intel_C_Intel
Employee
380 Views
0 Kudos
Reply