Advisory: Cannot tell what pointer points to, assuming global memory space


I’m getting this warning while accessing pointers through pointers…

Example code:


First of all, is the bad? I mean, it works and all, but is it bad performance-wise?

Secondly, if there is nothing wrong with this, how can I suppress the warning?

It may be bad if in contains a pointer that points to an object in shared memory, for example. It won’t work at all then.

I don’t think there’s a way to suppress it.