home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / C6_BUGS.ZIP / C6_20089.BUG < prev    next >
Text File  |  1990-09-11  |  2KB  |  54 lines

  1. Q64563 Command Line Error D2030: INTERNAL COMPILER ERROR IN 'QC'
  2. Microsoft C Compiler (C)
  3. 6.00
  4. OS/2
  5.  
  6. Summary:
  7.  
  8. The program below when compiled under OS/2 with the /qc switch will
  9. issue the following error:
  10.  
  11.    Command line error D2030 : INTERNAL COMPILER ERROR in 'QC'
  12.                    Contact Microsoft Product Support Services
  13.  
  14. The error gives no line number indicating which line within the source
  15. code is causing the problem.
  16.  
  17. Sample Code
  18. -----------
  19.  
  20. 1: double d = +.1 ;
  21. 2:
  22. 3: void main( void )
  23. 4:     {
  24. 5:     }
  25.  
  26. The error can be avoided by not placing the unary plus before the ".1"
  27. in line 1: or by not using the /qc (quick compile) option.
  28.  
  29. More Information:
  30.  
  31. Since no source code line number is given in this error message, it
  32. can be quite difficult to track down this type of error. The error can
  33. occur almost anywhere in a program. A double variable need only be
  34. initialized at the time of declaration to a simple floating point
  35. number with a unary plus preceding it. This problem can occur in a
  36. global or local declaration.
  37.  
  38. The following are suggested methods for tracking down the error:
  39.  
  40. 1. Search for all lines containing "double". This error occurs only
  41.    when the type specifier double is used.
  42.  
  43. 2. Comment out sections of code or break up the code into smaller
  44.    parts until you find the problem line.
  45.  
  46. Microsoft has confirmed this to be a problem with C version 6.00. We
  47. are researching this problem and will post new information here as it
  48. becomes available.
  49.  
  50. Keywords:  buglist6.00
  51.  
  52. COPYRIGHT Microsoft Corporation, 1990.
  53. Updated  90/09/01 08:26
  54.