Microsoft KB Archive/49478

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 19:24, 12 August 2020 by X010 (talk | contribs) (X010 moved page Microsoft KB Archive/Q49478 to Microsoft KB Archive/49478 without leaving a redirect: Text replacement - "Microsoft KB Archive/Q" to "Microsoft KB Archive/")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Explanation of Why QuickC Compiles a File Twice PSS ID Number: Q49478 Article last modified on 03-18-1991 PSS database name: S_QuickC

2.00 2.01 2.50 2.51

MS-DOS

Summary:

QuickC versions 2.00, 2.01, 2.50, and 2.51 sometimes compile header files and source modules in your program list twice. Both of the following conditions must be present for this problem to occur:

  1. Build flags must be set on RELEASE.
  2. Optimizations must be set to FULL.

If both the above conditions are met, QuickC does the following:

  1. Compiles all the header files included in the source module in question
  2. Compiles the actual source module
  3. Repeats the above process

QuickC does this for each source module in your program list.

This is expected behavior for QuickC. When build flags are set to release and optimizations are set to full, this generally means that your program is debugged and is about ready to be released. To properly and completely optimize your code, the QuickC compiler must make a second pass through the code.

Copyright Microsoft Corporation 1991.