KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q64563: Command Line Error D2030: INTERNAL COMPILER ERROR IN ‘QC’

Article: Q64563
Product(s): See article
Version(s): 6.00
Operating System(s): OS/2
Keyword(s): ENDUSER | buglist6.00 | mspl13_c
Last Modified: 31-AUG-1990

The program below when compiled under OS/2 with the /qc switch will
issue the following error:

   Command line error D2030 : INTERNAL COMPILER ERROR in 'QC'
                   Contact Microsoft Product Support Services

The error gives no line number indicating which line within the source
code is causing the problem.

Sample Code
-----------

1: double d = +.1 ;
2:
3: void main( void )
4:     {
5:     }

The error can be avoided by not placing the unary plus before the ".1"
in line 1: or by not using the /qc (quick compile) option.

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.

Microsoft has confirmed this to be a problem with C version 6.00. We
are researching this problem and will post new information here as it
becomes available.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.