Re: Questions about warnings - Mailing list pgsql-hackers

From Gregory Stark
Subject Re: Questions about warnings
Date
Msg-id 87y7nrb5v9.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Questions about warnings  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Questions about warnings
List pgsql-hackers
"Magnus Hagander" <magnus@hagander.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


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Questions about warnings
Next
From: Gregory Stark
Date:
Subject: Re: Recursive Queries