Specifications

Error! Style not defined. 743
Filename: LMAETAPA.DOC Project: MASM Environment and Tools
Template: MSGRIDA1.DOT Author: Nobody Last Saved By: Mike Eddy
Revision #: 136 Page: 743 of 59 Printed: 10/09/00 02:49 PM
HI2185 identifier : illegal _based allocation
A _based-allocated variable that explicitly has extern storage class and is uninitialized
may not have a base of any of the following:
(_segment) & var
_segname("_STACK")
(_segment)_self
void
If the variable does not explicitly have extern storage class or it is uninitialized, then its
base must use _segname("string") where string is any segment name or reserved
segment name except "_STACK".
HI2187 cast of near function pointer to far function pointer
An attempt was made to cast a near function pointer as a far function pointer.
HI2189 #error : string
An #error directive was encountered. The string is the descriptive text supplied in the
directive.
HI2193 identifier : already in a segment
A variable in the same_seg pragma has already been allocated in a segment, using
_based.
HI2194 segment : is a text segment
The given text segment was used where a data, const, or bss segment was expected.
HI2195 segment : is a data segment
The given data segment was used where a text segment was expected.
HI2200 function : function has already been defined
A function name passed as an argument in an alloc_text pragma has already been
defined.
HI2201 function : storage class must be extern
A function declaration appears within a block, but the function is not declared extern.
This causes an error if the /Za option is in effect.
For example, the following causes this error, when compiled with /Za:
main()
{
static int func1();
}
HI2205 identifier : cannot initialize extern block-scoped variables
A variable with extern storage class may not be initialized in a function.