FIX: No Error Generated by MASM 5.0 for Equates Made Public

This article was previously published under Q26800
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
The Microsoft Macro Assembler version 5.0 will allow an equate to be madepublic.
STATUS
Microsoft has confirmed this to be a problem in MASM version 5.00. Thisproblem was corrected in MASM version 5.10.
MORE INFORMATION
The error generated by MASM 5.1 for the sample code below is:
A2014: Illegal public declaration
MASM 5.0 incorrectly generates no errors.

Sample Code:

;Assemble options: nonePUBLIC ii      equ <text>end				
5.00 buglist5.00 fixlist5.10
Properties

Article ID: 26800 - Last Review: 08/23/2013 17:13:45 - Revision: 1.1

  • Microsoft Macro Assembler 5.0
  • kbnosurvey kbarchive kbfix KB26800
Feedback