C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
Real-Mode Windows Entry/Exit Code (/Gq)
                                             Up Contents Index Back
─────C/C++ Compiler─────────────────────────────────────────────────────────
 
     Syntax:  /Gq
 
     The /Gq option is provided to maintain functional compatibility
     with the /GW option in Microsoft C version 6. It generates
     entry/exit code for real-mode Windows functions not explicitly
     marked __export. The /Gq option affects an entire compilation
     module; use the /Gw option instead of the /Gq option if a module
     contains functions marked as __export.
 
     The entry/exit code that the /Gq option generates does not save
     the calling function's data segment (DS). Use the new /GW option
     (which does save DS) if DS might change during the time that a
     function is on the call stack.
     See: /GW
                                    -♦-