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 - this option enables exception handling using a space-saving scheme. when http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
This option enables exception handling using a space-saving scheme.  When
this option is specified:
 .  This option has been added to the C++ compiler in order to specify that
    operating-system dependent exception-handling is to be used.  When the
    option is not specified, the exception-handling mechanism is independent
    of the operating system (as was the case in previous releases).
 .  This option has an effect only under NT and OS/2 in the 32-bit compiler
    (WPP386).  A warning is issued when this option is used in other
    environments.
 .  When this option is used, it must be used to produce all C++ object
    files which are linked together to create .EXE or .DLL files.  When only
    some of the object files are compiled with this option, the linker will
    report unresolved or duplicated global symbols.  If you wish to use this
    option, the complete application must be recompiled with this option.
     This is to ensure that only operating-system dependent libraries are
    used to link the application.
 .  When the "zo" option is used and the target object is for a different
    system than the system used for compilation, the build-target (bt)
    option must be used to specify the target system.  If omitted, the C++
    compiler will assume you are producing object for the system used to
    compile the program.
 .  This option should viewed as a temporary mechanism to allow users to
    avoid recompiling applications when they do not require either NT or
    OS/2 system exception handling.  In the next major release, full
    recompilation will be required and the system-dependent exception
    handling will be the default.
 .  To help resolve errors, the following global symbols are generated:


         __compiled_under_NT  (compiled using /zo /bt=NT)

         __compiled_under_OS2 (compiled using /zo /bt=OS2)

         __compiled_under_GENERIC (compiled otherwise)

    The last is defined in all libraries for which exceptions are handled in
    a system independent manner.

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