PRB: Command-Line Error D2030: INTERNAL COMPILER ERROR IN 'QC'

ID Number: Q64563

6.00 6.00a 6.00ax

OS/2

buglist6.00 buglist6.00a buglist6.00ax

Summary:

SYMPTOMS

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

following internal compiler error when the sample program below is

compiled under OS/2 with the /qc (quick compile) option:

Command line error D2030 : INTERNAL COMPILER ERROR in 'QC'

Contact Microsoft Product Support Services

The error gives no line number indicating which line in the

source code is causing the problem.

RESOLUTION

The error can be avoided by not placing the unary plus before the

".1" in line 1 or by not using the /qc option.

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.

More Information:

Since no source code line number is given in this error message, it

can be quite difficult to track down this type of error. The error can

occur almost anywhere in a program -- a double variable need only be

initialized at the time of declaration to a simple floating-point

number with a unary plus preceding it. This problem can occur in a

global or local declaration.

The following are suggested methods for tracking down the error:

1. Search for all lines containing "double". This error occurs only

when the type specifier double is used.

2. Comment out sections of code or break up the code into smaller

parts until you find the problem line.

Sample Code

-----------

/* Compile options needed: /qc

*/

double d = +.1 ;

void main( void )

{

}

Additional reference words: 6.00 6.00a 6.00ax