Microsoft KB Archive/26798

From BetaArchive Wiki

COMDEF - Size Fields Do Not Match ID Number: Q26798

5.00 MS-DOS buglist5.00

Problem: The definition of the COMDEF record indicates that the linker checks that all definitions for a given variable have the same value in the size field. When mixing MASM with a high level language such as C, the fields often will not match. This is because Microsoft C will set the size field to the size of an array element. In the case of a structure, MASM is unable to duplicate this.

Response: This problem was corrected in MASM Version 5.00A. Please call Microsoft Product Support and request an update to MASM Version 5.00A.