PRB: Missing Semicolon Can Cause Internal Compiler Errors

ID Number: Q65393

6.00 6.00a 6.00ax | 6.00 6.00a

MS-DOS | OS/2

buglist6.00 buglist6.00a buglist6.00ax

Summary:

SYMPTOMS

In Microsoft C versions 6.0, 6.0a, and 6.0ax, if a semicolon (;) is

missing at the end of a structure definition or enumerated type and

the following statement is a variable declaration of unsigned int or

unsigned char, no compiler error is generated. However, several

different internal compiler errors can be generated depending on

what operating system and compiler you are using.

The following are the results when the sample code below is

compiled under various operating systems and versions of the

compiler:

Under C 6.0, 6.0a, and 6.0ax

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

MS-DOS and OS/2 produce the following:

fatal error C1001: Internal Compiler Error

(compiler file '@(#)regMD.c:1.100', line 2886)

Contact Microsoft Product Support Services

Compiling Under C 6.0, 6.0a, and 6.0ax with the /qc Option

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

MS-DOS produces the following:

fatal error C1001: Internal Compiler Error

(compiler file 'gencode.c', line 437)

Contact Microsoft Product Support Services

OS/2 produces the following:

fatal error C1063:

STATUS

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

6.0a, and 6.0ax. We are researching this problem and will post new

information here as it becomes available.

Additional reference words: 6.00 6.00a 6.00ax