DOCUMENT:Q155173 04-AUG-2001 [visualc] TITLE :PRB: Undocumented Compiler Switches /QIfdiv, /QIf, and /QI6 PRODUCT :Microsoft C Compiler PROD/VER:winnt: OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - The C/C++ Compiler (CL.EXE), included with: - *EDITOR Please do not choose this product*Microsoft Visual C++ 32-bit Edition* use 241, 265, 225, versions 4.0, 4.1, 4.2 ------------------------------------------------------------------------------- SYMPTOMS ======== In Visual C++ version 4.0, the compiler switches /QIfdiv, /Qif, and /QI6 are not documented. In Visual C++ version 4.1, the switch /QIfdiv is now documented. Below is a list of the default behavior of each switch in Visual C++ version 4.0 and version 4.1. MORE INFORMATION ================ /QIfdiv This switch is turned on by default in VC 4.0. It is turned off (/QIfdiv-) by default in VC 4.1. /QIfdiv is a workaround for the Pentium floating-point bug. /QIfdiv causes emulator functions to be used. /QIf This switch is unchanged. /QIf forces the .debug$F FPO debug information to be output always. This allows a backtrace of the stack even when some of the kernel stack has been paged out. /QI6 This was an undocumented switch to work around P6 problems and it was off by default in VC 4.0. This switch was removed in VC 4.1 but its functionality is still there and is turned on by default. Additional query words: ====================================================================== Keywords : Technology : kbVCsearch kbAudDeveloper kbCVCComp Version : winnt: Issue type : kbprb ============================================================================= 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 2001.