Visible to Intel only — GUID: GUID-A9DF56BD-293B-4A40-9BF9-F8E564660784
Visible to Intel only — GUID: GUID-A9DF56BD-293B-4A40-9BF9-F8E564660784
check-pointers-narrowing, Qcheck-pointers-narrowing
Determines whether the compiler enables or disables the narrowing of pointers to structure fields.
Syntax
Linux: |
-check-pointers-narrowing -no-check-pointers-narrowing |
macOS: |
None |
Windows: |
/Qcheck-pointers-narrowing /Qcheck-pointers-narrowing- |
Arguments
None
Default
-check-pointers-narrowing or /Qcheck-pointers-narrowing |
The compiler enables the narrowing of pointers to structure fields. |
Description
This option determines whether the compiler enables or disables the narrowing of pointers to structure fields. Narrowing restricts a field pointer so that it can only legally point to that field.
To use this option, you must also specify the [Q]check-pointers option.
Disabling this feature can improve Pointer Checker compatibility with non-ANSI compliant code.
To disable the narrowing of pointers to structure fields, specify -check pointers -no-check-pointers-narrowing (Linux), or /Qcheck pointers /Qcheck-pointers-narrowing- (Windows).
IDE Equivalent
Alternate Options
None