Re: Record comparison compiler warning

Поиск
Список
Период
Сортировка
От Stefan Kaltenbrunner
Тема Re: Record comparison compiler warning
Дата
Msg-id 5274C188.5080608@kaltenbrunner.cc
обсуждение исходный текст
Ответ на Re: Record comparison compiler warning  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: Record comparison compiler warning  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 10/31/2013 07:51 PM, Kevin Grittner wrote:
> Bruce Momjian <bruce@momjian.us> wrote:
>> On Wed, Oct 16, 2013 at 11:49:13AM -0700, Kevin Grittner wrote:
> 
>>> Bruce Momjian <bruce@momjian.us> wrote:
>>>
>>>> I am seeing this compiler warning in git head:
>>>>
>>>>      rowtypes.c: In function 'record_image_cmp':
>>>>      rowtypes.c:1433: warning: 'cmpresult' may be used
>>>>      uninitialized in this function rowtypes.c:1433: note: 'cmpresult' was declared here
>>>
>>> I had not gotten a warning under either gcc or clang, but that was
>>> probably because I was doing assert-enabled builds, and the
>>> Assert(false) saved me.  That seemed a little marginal anyway, so
>>> how about this?:
>>
>> Would you please send the file as ASCII, e.g. not:
>>
>> <A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0> default:
> 
> Huh, I did not see anything remotely like that in my email or in
> the archives:
> 
> http://www.postgresql.org/message-id/1381949353.78943.YahooMailNeo@web162902.mail.bf1.yahoo.com

http://www.postgresql.org/message-id/raw/1381949353.78943.YahooMailNeo@web162902.mail.bf1.yahoo.com


Stefan



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: dsm use of uint64
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Fast insertion indexes: why no developments