"Magnus Hagander" <magnus(at)hagander(dot)net> writes:
> I won't claim to know the inners good enough to comment on it. Does
> "const char **" really mean that the point is const, or the pointer that
> it points to is const?
"const char **" means the character at the end of the pointer chain is
constant. Which means my previous message is misguided, ignore it, sorry. In
short, yes, this is a limitation of the const syntax in C and you have to cast
it away in this case.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com