BUG: EXTERNDEF ABS Fails with Span Dependent Value (94941)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.0
- Microsoft Macro Assembler (MASM) 6.0a
- Microsoft Macro Assembler (MASM) 6.0b
- Microsoft Macro Assembler (MASM) 6.1
- Microsoft Macro Assembler (MASM) 6.1a
- Microsoft Macro Assembler (MASM) 6.11
This article was previously published under Q94941 SYMPTOMS
In an application developed with the Microsoft Macro Assembler (MASM),
an attempt to export a constant value with the EXTERNDEF directive
fails.
CAUSE
The exported value is defined in a macro as the difference between the
values of two labels (a span-dependent value).
RESOLUTION
To work around this problem, perform one of the following two steps:
- Modify the source code to specify the PUBLIC directive instead of
the EXTERNDEF directive
- Modify the source code of the macro to place a label before the
value definition
STATUS
Microsoft has confirmed this to be a problem in MASM versions 6.0,
6.0a, 6.0b, 6.1, 6.1a, and 6.11. We are researching this problem and
will post new information here in the Microsoft Knowledge Base as it
becomes available.
Modification Type: | Major | Last Reviewed: | 10/29/2003 |
---|
Keywords: | KB94941 |
---|
|