/Zn (Turn Off SBRPACK Utility)

Use the /Zn option, with either the /FR or the /Fr option, to turn off the SBRPACK utility. This option is only required when you have used the /Iu BSCMAKE option to keep unreferenced definitions in your code. The SBRPACK utility removes unreferenced definitions from the .SBR file produced by the /FR and the /Fr options. As the BSCMAKE utility uses .SBR files to produce output for the PWB Source Browser, this smaller .SBR file gives BSCMAKE greater effective capacity and can also increase the speed of producing .BSC files. Also, smaller .SBR files save disk space.

Use of either the /FR or the /Fr option is part of the process you must follow in order to use the PWB Source Browser. Both options are described earlier in this chapter.

For information on using the PWB Source Browser to look for code in a project, to see where functions are invoked or where variables and types are used, or to generate call trees and cross-reference tables, see Chapter 21, “Browser Utilities.”

Example

CL /FR /Zn QSORT.C

This example compiles and links the source file QSORT.C and generates a file with an .SBR extension. The /Zn option ensures that the SBRPACK utility does not compact the .SBR file. The BSCMAKE utility uses the file to generate a .BSC file that you can examine with the PWB Source Browser.