Intel® C++ Compiler 16.0 User and Reference Guide
Determines whether warnings are issued for conversions between pointers to distinct scalar types with the same representation.
Linux and OS X: | -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