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

  1. Q62183 C2404 Error with /qc Compile Option and fidiv Instruction
  2. Microsoft C Compiler (C)
  3. 6.00   | 6.00
  4. MS-DOS | OS/2
  5.  
  6. Summary:
  7.  
  8. When the following program is compiled with the quick compiler option
  9. (/qc), with C version 6.00 or with QuickC versions 2.50 and 2.51, the
  10. compiler will return error C2404.
  11.  
  12. Sample Code
  13. -----------
  14.  
  15. 1. void main (void)
  16. 2. {
  17. 3.    int foo = 3 ;
  18. 4.
  19. 5.    _asm fidiv   foo
  20. 6. }
  21.  
  22. More Information:
  23.  
  24. The compiler responds with the following error:
  25.  
  26.    fpburgr.c(5) : error C2404: 'ST' : illegal register in 'operand 3'
  27.  
  28. Currently, the only workaround is to not use the /qc option with C
  29. 6.00. There is no known workaround for QuickC.
  30.  
  31. Microsoft has confirmed this to be a problem with C version 6.00 and
  32. QuickC versions 2.50 and 2.51. We are researching this problem and
  33. will post new information here as it becomes available.
  34.  
  35. Keywords:  s_quickc s_quickasm buglist6.00
  36.  
  37. COPYRIGHT Microsoft Corporation, 1990.
  38. Updated  90/05/30 07:26
  39.