C9012000: C1001: regMD.c, Lines 4634 and 4688

ID Number: Q67783

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

buglist6.00 buglist6.00a buglist6.00ax fixlist7.00

Summary:

SYMPTOMS

The Microsoft C Compiler versions 6.0, 6.0a, and 6.0ax produce the

following internal compiler errors when the sample program below is

compiled with /Oe and /MD:

With C 6.0a and 6.0ax

---------------------

file.c(10) : fatal error c1001: Internal Compiler Error

(compiler file '@(#)regMD.c:1.110',line 4688)

Contact Microsoft Product Support Services

With C 6.0

----------

file.c(10) : fatal error c1001: Internal Compiler Error

(compiler file '@(#)regMD.c:1.110',line 4634)

Contact Microsoft Product Support Services

STATUS

Microsoft has confirmed this to be a problem in C versions 6.0,

6.0a, and 6.0ax. This problem was corrected in C/C++ version 7.0.

Since OS/2 target are not supported in C/C++ 7.0, /MD does nothing

for MS-DOS targets.

More Information:

Sample Code

-----------

/* Compile options needed: /Oe /MD

*/

char wi_lines(char);

int w_hline(char *pnt)

{

int x;

for (x=0;x<=10;x++)

pnt[x]=wi_lines(pnt[x]);

}