Re: Remove warning about const qualifier

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove warning about const qualifier
Дата
Msg-id 9702.1176750578@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove warning about const qualifier  (Kris Jurka <books@ejurka.com>)
Список pgsql-patches
Kris Jurka <books@ejurka.com> writes:
> I was testing a gcc 4.3 snapshot from 3/26/07.  It also complains
> hba.c:1199: warning: array subscript is below array bounds
> Which looks pretty bogus to me.

I agree.

> And then the following which may be
> valid, but wasn't something I was concerned about at this time.

> tuplesort.c: In function 'comparetup_heap':
> tuplesort.c:2124: warning: inlining failed in call to 'myFunctionCall2':
> --param large-stack-frame-growth limit reached
> tuplesort.c:2175: warning: called from here

We've got -Winline turned on mainly as a means of finding out whether
inlining happens or not.  I think it's OK to ignore this unless it
happens all over the place.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Remove warning about const qualifier
Следующее
От: Stefan Huehner
Дата:
Сообщение: Re: Remove warning about const qualifier