- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I am a new learner of intel fortran. I comed up with the warning message when compiling the fortran codes.Howeve, the codeswere compiled sucessfuly.The messages and the codesthatthe warning messagecome from are below.I expect to know what problem is about the codes and the output is right.Thank you for your help.
warning message:
fortcom: Warning: ../CBS/higkon.h, line 4: Because of COMMON, the alignment of object is inconsistent with its type
2 GQ , GH , EDG , DEGRAD , RADDEG ,
-----------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 4: Because of COMMON, the alignment of object is inconsistent with its type
2 GQ , GH , EDG , DEGRAD , RADDEG ,
--------------------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 4: Because of COMMON, the alignment of object is inconsistent with its type
2 GQ , GH , EDG , DEGRAD , RADDEG ,
-----------------------------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 4: Because of COMMON, the alignment of object is inconsistent with its type
2 GQ , GH , EDG , DEGRAD , RADDEG ,
--------------------------------------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 5: Because of COMMON, the alignment of object is inconsistent with its type
3 RDRD , EMRDRD , RDDRM1 ,
--------------------------^
fortcom: Warning: ../CBS/higkon.h, line 5: Because of COMMON, the alignment of object is inconsistent with its type
3 RDRD , EMRDRD , RDDRM1 ,
-----------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 5: Because of COMMON, the alignment of object is inconsistent with its type
3 RDRD , EMRDRD , RDDRM1 ,
--------------------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 6: Because of COMMON, the alignment of object is inconsistent with its type
4 WCPR , RDWCP , B234W , B234E
--------------------------^
fortcom: Warning: ../CBS/higkon.h, line 6: Because of COMMON, the alignment of object is inconsistent with its type
4 WCPR , RDWCP , B234W , B234E
-----------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 6: Because of COMMON, the alignment of object is inconsistent with its type
4 WCPR , RDWCP , B234W , B234E
--------------------------------------------^
fortcom: Warning: ../CBS/higkon.h, line 6: Because of COMMON, the alignment of object is inconsistent with its type
codes
c
COMMON / HIGKON / EDDLAM , EDDPHI , EDADPHI, DLADDPH, DPHDDLA,
1 PI , ED2DT , DT2 , DTDEH , NEHDDT ,
2 GQ , GH , EDG , DEGRAD , RADDEG ,
3 RDRD , EMRDRD , RDDRM1 ,
4 WCPR , RDWCP , B234W , B234E
best regard
wengh
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
To fix the problem, place the integer variable at the end, or pad it up to the next 8-byte boundary by adding a dummy (unused) integer.

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