Inspectopedia Help

Incompatible pointers

Reports the cases when an expression of a pointer type A is used in the context of another pointer type B (assigned, cast, passed as a parameter, returned from a method, function, or block, and so on). You must explicitly cast one pointer type to another to avoid the compiler warnings. This inspection isn't applicable when the both types are pointers to a class type.

Inspection Details

Available in:

AppCode 2023.3


AppCode, 2023.3

Last modified: 13 July 2023