◄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 ) -♦-