Q66495: Using /F Switch with No Argument May Disable Debug Switch
Article: Q66495
Product(s): See article
Version(s): 2.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist2.50 s_c | mspl13_c
Last Modified: 11-NOV-1990
If you use the /F (set stack size) switch without an argument, you may
overwrite the next switch on the compile line. In QuickC, the /F
switch is entered by selecting Compiler Flags from the Options menu
and then choosing Global Flags.
For instance, if you add /F to the above mentioned screen and select
the debug build option, the resultant compile line will ignore the
CodeView option and you will not be able to debug your program. This
occurs because the /F option is expecting an argument, which is
intended to be the size you want the stack to be. Instead, the /Zi
option, which comes next on the command line Quick C generates, gets
interpreted as the argument specifying the stack size and doesn't get
seen by the compiler as a compiler flag.
Sample Command Line Generated by QuickC
---------------------------------------
QCL /AL /Ze /F /Zi filename.c
To correct this problem, add a number for the stack size.
Microsoft has confirmed this to be a problem with QuickC version 2.50.
We are researching this problem and and will post new information here
as it is 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.