pop, push

Saves and restores pragma settings.

Syntax
#pragma push
  

#pragma pop

Remarks

The pragma push saves all the current pragma settings. The pragma pop restores all the pragma settings that resulted from the last push pragma. For example, see push and pop example.

Listing 1. push and pop example
#pragma ANSI_strict on
#pragma push /* Saves all compiler settings. */
#pragma ANSI_strict off
#pragma pop /* Restores ANSI_strict to on. */

This pragma does not correspond to any panel setting. By default, this pragma is off .

Tip: Pragmas directives that accept on | off | reset already form a stack of previous option values. It is not necessary to use #pragma pop or #pragma push with such pragmas.
Related information
check_header_flags
faster_pch_gen
flat_include
fullpath_file
fullpath_prepdump
keepcomments
line_prepdump
macro_prepdump
msg_show_lineref
msg_show_realref
notonce
old_pragma_once
once
pragma_prepdump
precompile_target
simple_prepdump
space_prepdump
srcrelincludes
syspath_once