From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
---|---|
To: | "Magnus Hagander" <magnus(at)hagander(dot)net> |
Cc: | "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Questions about warnings |
Date: | 2007-01-25 13:20:10 |
Message-ID: | 87y7nrb5v9.fsf@stark.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"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
From | Date | Subject | |
---|---|---|---|
Next Message | Gregory Stark | 2007-01-25 13:23:27 | Re: Recursive Queries |
Previous Message | Magnus Hagander | 2007-01-25 13:18:57 | Re: Questions about warnings |