/sys$common/syshlp/helplib.hlb FORTRAN, Error Messages, Compilation Errors, ALNNOMAT *Conan The Librarian (sorry for the slow response - running on an old VAX) |
SEVERITY: W MESSAGE TEXT: A lignment settings of common block are inconsistent with previous declaration EXPLANATION: Occurs when using CDEC$ OPTIONS/ALIGN (or /WARN=ALIGN) if the same COMMON is declared in multiple places within a single compilation unit and /ALIGN or /WARN=ALIGN has changed between places. For example: CDEC$ OPTIONS /ALIGN=COMMON=NATURAL COMMON /COM1/ A,B ! common elements are naturally aligned CDEC$ END OPTIONS CDEC$ OPTIONS /ALIGN=COMMON=PACKED COMMON /COM1/ C,D ! common elements are packed CDEC$ END OPTIONS Note that COMMON declarations can also take place in SAVE and VOLATILE statements and in CDEC$ PSECT, CPAR$ PRIVATE and CPAR$ SHARED directives. All declarations must be in the scope of a consistent setting for alignment and alignment warnings. USER ACTION: Modify the program to remove inconsistent alignment directives.
|