Re: Getting rid of warnings
| От | Tom Lane | 
|---|---|
| Тема | Re: Getting rid of warnings | 
| Дата | |
| Msg-id | 19872.1169740649@sss.pgh.pa.us обсуждение исходный текст | 
| Ответ на | Getting rid of warnings (Magnus Hagander <magnus@hagander.net>) | 
| Ответы | Re: Getting rid of warnings | 
| Список | pgsql-patches | 
Magnus Hagander <magnus@hagander.net> writes:
>   bool
> ! isort(int4 *a, int len)
>   {
>   bool
> ! isort(int4 *a, const int len)
>   {
If VC thinks that that is required to fix a warning, it's too broken to live.
AFAICS what you've got there is a compiler that is being pedantically
strict about language details that it does not actually understand well;
its apparent idea that "const **" means "const * const *" being much in
the same line as this one.
I don't mind the non-const-related parts of this patch, but I recommend
rejecting all the const-decoration changes.
            regards, tom lane
		
	В списке pgsql-patches по дате отправления: