C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
check_pointer
                                             Up Contents Index Back
─────C/C++ Language─────────────────────────────────────────────────────────
 
  Pragma:    check_pointer
 
  Syntax:    #pragma check_pointer ([{ on | off }])
 
  Summary:   Instructs the compiler to turn off pointer checking if "off"
             is specified, or to turn on pointer checking if "on" is
             specified.
 
     In Microsoft C/C++ version 7.0, the check_pointer pragma works
     function by function, not statement by statement. To use this
     pragma, place a pair of check_pointer pragmas around any function
     definition that contains pointer usage that you want to check:
 
          #pragma check_pointer( on )
          void myfunc( void )
          {
              /* code that contains a pointer */
          }
          #pragma check_pointer( off )
                                    -♦-