Specifications

822 ML Error Messages
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 822 of 138 Printed: 10/09/00 02:49 PM
A2166 structure field expected
The righthand side of a dot operator (.) is not a structure field.
This error may occur with some code acceptable to previous versions of the assembler.
To enable the old behavior, use OPTION OLDSTRUCTS, which is automatically
enabled by OPTION M510 or the /Zm command-line option.
A2167 unexpected literal found in expression
A literal was found where an expression was expected.
One of the following may have occurred:
u A literal was used as an initializer
u A record tag was omitted from a record constant
A2169 divide by zero in expression
An expression contains a divisor whose value is equal to zero.
Check that the syntax of the expression is correct and that the divisor (whether constant
or variable) is correctly initialized.
A2170 directive must appear inside a macro
A GOTO or EXITM directive was found outside the body of a macro.
A2171 cannot expand macro function
A syntax error prevented the assembler from expanding the macro function.
A2172 too few bits in RECORD
There was an attempt to define a record field of 0 bits.
A2173 macro function cannot redefine itself
There was an attempt to define a macro function inside the body of a macro function
with the same name. This error can also occur when a member of a chain of macros
attempts to redefine a previous member of the chain.
A2175 invalid qualified type
An identifier was encountered in a qualified type that was not a type, structure, record,
union, or prototype.
A2176 floating point initializer on an integer variable
An attempt was made to use a floating-point initializer with DWORD, QWORD, or
TBYTE. Only integer initializers are allowed.
A2177 nested structure improperly initialized
The nested structure initialization could not be resolved.
This error can be caused by using different beginning and ending delimiters in a nested
structure initialization.