Quantcast
Channel: Intel® C++-Compiler
Viewing all articles
Browse latest Browse all 1665

check-pointers-narrowing, Qcheck-pointers-narrowing

$
0
0

Determines whether the compiler enables or disables the narrowing of pointers to structure fields.

Architecture Restrictions

Not available on Intel® 64 architecture targeting Intel® MIC Architecture, on IA-32 architecture targeting Intel® Graphics Technology, or on Intel® 64 architecture targeting Intel® Graphics Technology

Syntax

Linux OS:

-check-pointers-narrowing

-no-check-pointers-narrowing

OS X:

None

Windows OS:

/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 the negative form of the option (see Syntax above).

This pointer checker feature requires installation of another product. For more information, see Feature Requirements.

IDE Equivalent

None

Alternate Options

None

Englisch

Viewing all articles
Browse latest Browse all 1665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>