Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ User's Guide - the<b> /fh</b> option instructs the compiler to use a precompiled header file with http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
The /fh option instructs the compiler to use a precompiled header file with
a default name of WCC.PCH, WCC386.PCH, WPP.PCH, or WPP386.PCH (depending on
the compiler used) if it exists or to create one if it does not.  The file
is created in the current directory.  You can use the /fh=filename option to
change the default name (and placement) of the precompiled header.  Add the
letter "q" (for "quiet") to the option name to prevent the compiler from
displaying precompiled header activity information.

The following command line uses the /fh option to create a precompiled
header.

Example:

     wpp /fh myprog.cpp
     wpp386 /fh myprog.cpp

The following command line creates a precompiled header named MYPROG.PCH and
places it in the \PROJPCH directory.

Example:

     wpp /fh=\projpch\myprog.pch myprog.cpp
     wpp386 /fh=\projpch\myprog.pch myprog.cpp

The precompiled header is created and/or used when the compiler encounters
the first #include directive that occurs in the source file.  In a
subsequent compilation, the compiler performs a consistency check to see if
it can use an existing precompiled header.  If the consistency check fails
then the compiler discards the existing precompiled header and builds a new
one.

The /fhq form of the precompiled header option prevents the compiler from
issuing warning or informational messages about precompiled header files.
 For example, if you change a header file, the compiler will tell you that
it changed and that it must regenerate the precompiled header file.  If you
specify /fhq then the compiler just generates the new precompiled header
file without displaying a message.

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson