Top: f77 Up: 9,1 - Compilation
Previous: 9,1,2 - Severe_Messages Next: 9,1,4 - Warning_Messages


Section 9,1,3: Error_Messages

 Must be corrected before the program can be compiled.  An object
 file is not produced (linking does not occur).

 The error messages follow (in alphabetical order):

  o  MESSAGE:  Adjustable array bound contains invalid data item

     EXPLANATION:  A dimension declarator expression for an
     adjustable array contained an operand other than a constant,
     variable in a common block, or variable associated with a
     subprogram dummy argument.

  o  MESSAGE:  Alternate return omitted in SUBROUTINE or ENTRY
     statement

     EXPLANATION:  An asterisk was missing in the argument list of a
     subroutine for which an alternate return was specified.  For
     example:

        ENTRY ABC(Q,R)
           .
           .
           .
        RETURN 1

  o  MESSAGE:  Arithmetic error while evaluating constant or
     constant expression

     EXPLANATION:  The specified value of a constant was too large
     or too small to be represented.

  o  MESSAGE:  Character name incorrectly initialized with numeric
     value

     EXPLANATION:  A character data item with a length greater than
     one was initialized with a numeric value in a DATA statement.
     For example:

        CHARACTER*4 A
        DATA A/14/

  o  MESSAGE:  Character scalar memory reference or array required
     for internal files

     EXPLANATION:  Attempted use of internal file I/O using a type
     of variable that is not valid.  For more information, see your
     DEC Fortran user manual.

  o  MESSAGE:  Constant in format item out of range

     EXPLANATION:  A numeric value in a FORMAT statement exceeds the
     allowable range.  See the DEC Fortran Language Reference Manual
     for information about range limits.

  o  MESSAGE:  Declaration of globally visible name conflicts with a
     previous declaration

     EXPLANATION:  The name specified in a PROGRAM, BLOCK DATA,
     COMMON, ENTRY, FUNCTION, or SUBROUTINE statement has already
     been used.  For instance, a COMMON block has the same name as
     an external routine.

  o  MESSAGE:  ENTRY within DO loop or IF block

     EXPLANATION:  An ENTRY statement is not allowed within the
     range of a DO loop or IF block.

  o  MESSAGE:  Extra characters following a valid statement

     EXPLANATION:  Superfluous text was found at the end of a
     syntactically correct statement.  Check for typing or syntax
     errors.

  o  MESSAGE:  Extra number in format list

     EXPLANATION:  A format list contained an extraneous number.
     For example:

        FORMAT (I4,3)

  o  MESSAGE:  Format groups nested too deeply

     EXPLANATION:  Format groups cannot be nested beyond eight
     levels.

  o  MESSAGE:  Format item cannot be signed

     EXPLANATION:  A signed constant is valid only with the P format
     code.

  o  MESSAGE:  Format item contains meaningless character

     EXPLANATION:  An invalid character or a syntax error was
     detected in a FORMAT statement.

  o  MESSAGE:  Inconsistent statement function reference

     EXPLANATION:  The actual arguments in a statement function
     reference did not agree in either order, number, or data type
     with the formal arguments declared.

  o  MESSAGE:  Invalid ASSOCIATEVARIABLE specification

     EXPLANATION:  An ASSOCIATEVARIABLE specification in an OPEN or
     DEFINE FILE statement was a dummy argument or an array element.

  o  MESSAGE:  Invalid character after a backslash

     EXPLANATION:  In a character literal, the character specified
     after the backslash (\) was not one of the allowable characters
     (such as \n for new line) used to produce a nonprinting
     character.  For information on the allowable characters for
     C-style escape sequences, see the DEC Fortran Language
     Reference Manual.

  o  MESSAGE:  Invalid character used in constant

     EXPLANATION:  An invalid character was detected in a constant.
     Only the characters 0-9, A-F, and a-f are valid for hexadecimal
     constants.  The entire hexadecimal constant is set to zero.

  o  MESSAGE:  Invalid repeat count in data initialization, count
     ignored

     EXPLANATION:  The repeat count in a data initialization was not
     an unsigned, nonzero integer constant.  When this error is
     encountered, the count is ignored.

  o  MESSAGE:  Invalid use of intrinsic function name as actual
     argument

     EXPLANATION:  A generic intrinsic function name was used as an
     actual argument.

  o  MESSAGE:  I/O list not permitted with namelist I/O

     EXPLANATION:  An I/O statement with a namelist specifier
     incorrectly contained an I/O list.

  o  MESSAGE:  Missing apostrophe in character constant

     EXPLANATION:  A character constant must be enclosed in
     apostrophes.

  o  MESSAGE:  Missing exponent after E, D, or Q

     EXPLANATION:  A floating-point constant was specified in E, D,
     or Q notation, but the exponent was omitted.

  o  MESSAGE:  Missing number in format list

     EXPLANATION:  An expected number was missing from a format
     list.  For example:

        FORMAT (F6.)

  o  MESSAGE:  Missing separator between format items

     EXPLANATION:  A required separator character was omitted
     between fields in a FORMAT statement.

  o  MESSAGE:  Missing variable or common name

     EXPLANATION:  A name of a variable or a common block that is
     required by a compiler directive statement or a VOLATILE
     statement was omitted.

  o  MESSAGE:  More than 7 dimensions specified

     EXPLANATION:  An array can be defined as having up to seven
     dimensions.

  o  MESSAGE:  Multiple definition of statement label

     EXPLANATION:  The same label appeared on more than one
     statement.  When this error is encountered, the first
     occurrence of the label is used.

  o  MESSAGE:  Nonstandard operation

     EXPLANATION:  One of the following operations was detected:

        - Logical operand and a nonlogical operand were used 
          in the same operation.
        - Real type expression and a complex type expression 
          were used in the same statement.
        - Character operand and a noncharacter operand were 
          used in the same operation.
        - Nonlogical expression was assigned to a logical 
          variable.
        - Noncharacter expression was assigned to a character 
          variable.
        - Character dummy argument appeared in a concatenation 
          operation and the result of the expression was not 
          assigned to a character variable.
        - Logical operators were used with nonlogical operands.
        - Arithmetic operators were used with nonnumeric operands.

  o  MESSAGE:  Outer level structure is missing a structure name

     EXPLANATION:  An outer level STRUCTURE statement must have a
     structure name in order for a RECORD statement to be able to
     reference the structure declaration.

  o  MESSAGE:  Preprocessor record:  error opening specified file

     EXPLANATION:  Internal information from cpp is not in the
     correct format.  This could be caused by a pound sign (#)
     character in column 1 of the Fortran source code that is not a
     cpp directive or internal information from cpp.

  o  MESSAGE:  Preprocessor record file spec misspelled

     EXPLANATION:  Internal information from cpp is not in the
     correct format, possibly caused by a pound sign (#) character
     in column 1 of the Fortran source code that is not a cpp
     directive or internal information from cpp.

  o  MESSAGE:  Preprocessor record line number not integer

     EXPLANATION:  Internal information from cpp is not in the
     correct format, possibly caused by a pound sign (#) character
     in column 1 of the Fortran source code that is not a cpp
     directive or internal information from cpp.

  o  MESSAGE:  Preprocessor record missing file spec

     EXPLANATION:  Internal information from cpp is not in the
     correct format, possibly caused by a pound sign (#) character
     in column 1 of the Fortran source code that is not a cpp
     directive or internal information from cpp.

  o  MESSAGE:  Preprocessor record missing line number

     EXPLANATION:  Internal information from cpp is not in the
     correct format, possibly caused by a pound sign (#) character
     in column 1 of the Fortran source code that is not a cpp
     directive or internal information from cpp.

  o  MESSAGE:  Statement not allowed within structure definition

     EXPLANATION:  A statement not allowed in a structure
     declaration block was encountered.  Structure declaration
     blocks can only include the following statements:  typed data
     declaration statements, RECORD statements, UNION/END UNION
     statements, MAP/END MAP statements, and STRUCTURE/END STRUCTURE
     statements.

  o  MESSAGE:  Statement not valid in this program unit

     EXPLANATION:  A program unit contained a statement that is not
     allowed; for example, a BLOCK DATA subprogram containing an
     executable statement.

  o  MESSAGE:  Statement out of order

     EXPLANATION:  The order of statements was invalid.  When this
     error is encountered, the statement found to be out of order is
     ignored.

  o  MESSAGE:  Subscript or substring expression value out of bounds

     EXPLANATION:  An array element beyond the specified dimensions
     or a character substring outside the specified bounds was
     referenced.

  o  MESSAGE:  Substring reference used in invalid context

     EXPLANATION:  A substring reference to a variable or array that
     is not of type character was detected.  For example:

        REAL X(10)
        Y = X(J:K)

  o  MESSAGE:  Syntax error in IMPLICIT statement

     EXPLANATION:  Improper syntax was used in an IMPLICIT
     statement.

  o  MESSAGE:  Too many continuation lines

     EXPLANATION:  You cannot use more than 99 continuation lines.

  o  MESSAGE:  Unbalanced parentheses in format list

     EXPLANATION:  The number of right parentheses must match the
     number of left parentheses.

  o  MESSAGE:  Undimensioned array reference or scalar is
     subscripted

     EXPLANATION:  The variable appearing in a DATA statement or
     namelist has not been dimensioned, yet appears with a
     subscript.

  o  MESSAGE:  Unknown keyword value

     EXPLANATION:  The specified keyword value is not valid.  For
     more information, see the DEC Fortran Language Reference
     Manual.

  o  MESSAGE:  Untyped name, must be explicitly typed

     EXPLANATION:  The displayed name was not defined in any data
     type declaration statement, and an IMPLICIT NONE statement was
     specified.  Check that the name was not accidentally created by
     an undetected syntax error.  For example:

        DO 10 I = 1.10

     The apparent DO statement is really an assignment to the
     accidentally created variable DO10I.

  o  MESSAGE:  %VAL or %REF used in invalid context

     EXPLANATION:  The argument list built-in functions %VAL and
     %REF cannot be used outside an actual argument list.  For
     example:

        X = %REF(Y)

  o  MESSAGE:  Variable cannot be reinitialized (xxxx)

     EXPLANATION:  Attempted to initialize a variable more than
     once, such as in a DATA statement.

  o  MESSAGE:  Zero-length string

     EXPLANATION:  The length specified for a character or Hollerith
     constant must not be zero.


Top: f77 Up: 9,1 - Compilation
Previous: 9,1,2 - Severe_Messages Next: 9,1,4 - Warning_Messages