Determines whether the compiler checks for dangling pointer references.
Linux: | -check-pointers-dangling=keyword |
macOS: | None |
Windows: | /Qcheck-pointers-dangling:keyword |
keyword |
Specifies what type of dangling pointer checking occurs. Possible values are:
|
-check-pointers-dangling=none or /Qcheck-pointers-dangling:none |
No checking occurs for dangling pointer references. |
This option determines whether the compiler checks for dangling pointer references.
To use this option, you must also specify the [Q]check-pointers option.
This pointer checker feature requires installation of another product. For more information, see Feature Requirements.
Visual Studio: Code Generation > Check Dangling Pointers
Eclipse: Code Generation > Check Dangling Pointers
Xcode: None
None