Re: Questions about warnings

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Questions about warnings
Дата
Msg-id 87y7nrb5v9.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: Questions about warnings  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Questions about warnings  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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 по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Questions about warnings
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Recursive Queries