Multiply Defined Structures and /Zi Option Locks Assembler

ID Number: Q60072

5.10 5.10a | 5.10 5.10a

MS-DOS | OS/2

buglist5.10 buglist5.10a fixlist6.00

Summary:

If the assembler source file has a structure declared twice with the

same name and the /Zi option is used, the assembler will go into an

infinite loop. The sample code below demonstrates this problem:

Microsoft has confirmed this to be a problem in MASM versions 5.1 and

5.1a. This problem was corrected in MASM version 6.0.

Sample Code

-----------

junk struc ; Declaration of Structure

junk ends

junk struc ; Repeat Declaration of Structure

junk ends

end ; End of Assembler file

Additional reference words: 5.10 5.10a