- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page