KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q41217: Alleged Problems with Listing Options (/Fc, /Fl, /Fa)

Article: Q41217
Product(s): See article
Version(s): 5.10   | 5.10
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | SR# S881208-32 errors | mspl13_c
Last Modified: 25-MAY-1989

Microsoft has received reports that the assembly listing options (/Fc,
/Fl, /Fa) produce listings that don't accurately reflect the code
generated.

We have determined that this problem is caused
because different compiler options are being used when compiling to
produce the listing, than when compiling to produce an executable. An
especially common situation is to use /Zi for compiling the executable
and to leave it off when compiling to produce a listing.

The /Zi option DOES in fact cause slightly different code to be
generated because optimizations that would move code are  suppressed.
Therefore, it is perfectly normal for the CodeView listing of a
program compiled with /Zi to differ somewhat from the listing produced
when compiled without /Zi.

If you find a case in which the listing is different from the
generated code when both are compiled with EXACTLY the same options,
please report the problem to Microsoft.

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.