BUG: Error A2005 Generated Due to Conflict with Global Label (120064)
The information in this article applies to:
- Microsoft Macro Assembler (MASM) 6.1
- Microsoft Macro Assembler (MASM) 6.11
This article was previously published under Q120064 SYMPTOMS
According to page 354 of the "MASM 6.1 Programmer's Guide," labels within a
procedure that are defined with a single colon are local, provided there is
a language specifier on the .Model statement. However, if the symbol used
for a local label appears as a global label in an earlier part of the
source file, the following error is generated during assembly:
A2005: symbol redefinition
RESOLUTION
If possible, rearrange the code so that the global label does not appear
before the local label.
STATUS
Microsoft has confirmed this to be a bug in MASM versions 6.1 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: | Minor | Last Reviewed: | 2/11/2004 |
---|
Keywords: | KB120064 |
---|
|