Microsoft KB Archive/91692

= FIX: H2INC Version 1.0 Ignores /G3 and /G4 Option Switches =

Article ID: 91692

Article Last Modified on 7/22/2001

-

APPLIES TO


 * Microsoft Macro Assembler 1.0

-



This article was previously published under Q91692



SYMPTOMS
In version 1.0 of the H2INC utility, provided with Microsoft Macro Assembler (MASM) version 6.0, 6.0a, and 6.0b, the /G3 or /G4 option switch does not change the size of an int from a WORD to a DWORD.



STATUS
Microsoft has confirmed this to be a problem in H2INC version 1.0. This problem was corrected in H2INC for MS-DOS version 1.1 which is included with MASM for MS-DOS version 6.1.



MORE INFORMATION
Pages 436 and 440 of the &quot;Microsoft Macro Assembler Programmer's Guide&quot; for MASM version 6.0 document the /G3 and /G4 switches for the H2INC utility. As note above, H2INC version 1.0 does not implement these switches.

Sample Code
/* Command line options needed: /G3 int my_var;

EXTERNDEF C my_var:SWORD   /* Notice it is not :SDWORD */
 * Resulting .INC file

Additional query words: 6.00 6.00a 6.00b 1.00 buglist1.00 fixlist1.10

Keywords: kbbug kbfix KB91692

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.