The solution is to store pointers as pointer types or the special types defined for this purpose, such as intptr_t and uintptr_t.
解决方案是将指针作为指针类型或为此而定义的特殊类型进行存储,例如 intptr_t 和 uintptr_t。
For two pointer types to be compatible, both shall be identically qualified and both shall be Pointers to compatible types.
两个相容的指针,既要有同一的限定修饰词,所指向的类型也要相容的。而两个相容的类型要符合如下规定。
For two pointer types to be compatible, both shall be identically qualified and both shall be Pointers to compatible types.
两个相容的指针,既要有同一的限定修饰词,所指向的类型也要相容的。而两个相容的类型要符合如下规定。
应用推荐