Re: Questions about warnings

Поиск
Список
Период
Сортировка
Искать
От
Gregory Stark
Тема
Re: Questions about warnings
Дата
Msg-id
87y7nrb5v9.fsf@stark.xeocode.com
Ответ на
Список
Дерево обсуждения
Questions about warnings Magnus Hagander <magnus@hagander.net>
Re: Questions about warnings Peter Eisentraut <peter_e@gmx.net>
Re: Questions about warnings Magnus Hagander <magnus@hagander.net>
Re: Questions about warnings Gregory Stark <stark@enterprisedb.com>
Re: Questions about warnings Martijn van Oosterhout <kleptog@svana.org>
Re: Questions about warnings Gregory Stark <stark@enterprisedb.com>
Re: Questions about warnings Gavin Sherry <swm@alcove.com.au>
Re: Questions about warnings Magnus Hagander <magnus@hagander.net>
Re: Questions about warnings Andrew Dunstan <andrew@dunslane.net>
"Magnus Hagander"  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
FAQ