error: Invalid type in function call argument. Expected void**, got char**
I understand that there are bizarre edge cases for pointers on various ancient or strange systems. So maybe this is by design because of edge cases that I haven't studied well. But in my mind, this ought to work. If it should work, then it would be nice to automate it.
If it shouldn't work, then I clearly need to design the example function differently ...
In ion, any pointer type seems to auto cast to
void*
, but they don't auto-cast tovoid**
. For example, I have to cast fromchar**
tovoid**
here:Where I elsewhere have the following function:
If I leave out the cast, it says the following:
I understand that there are bizarre edge cases for pointers on various ancient or strange systems. So maybe this is by design because of edge cases that I haven't studied well. But in my mind, this ought to work. If it should work, then it would be nice to automate it.
If it shouldn't work, then I clearly need to design the example function differently ...