Visible to Intel only — GUID: GUID-A212221B-5452-44B1-B04F-F89A2D4DF6DF
Visible to Intel only — GUID: GUID-A212221B-5452-44B1-B04F-F89A2D4DF6DF
Wic-pointer
Determines whether warnings are issued for conversions between pointers to distinct scalar types with the same representation.
Linux and macOS: |
-Wic-pointer -Wno-ic-pointer |
Windows: |
None |
None
-Wic-pointer |
The compiler issues warnings for conversions between pointers to distinct scalar types with the same representation. |
This option determines whether warnings are issued for conversions between pointers to distinct scalar types with the same representation.
For example, consider the following:
void f(int *p) { long *q = p; }
In this case, by default, the compiler issues a warning because of the conversion from pointer to int to pointer to long.
However, if you specify -Wno-ic-pointer, and long and int values have the same representation on the target platform, the warning will not be issued.
None