Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch
Дата
Msg-id 20090528113347.GB9247@feivel.credativ.lan
обсуждение исходный текст
Ответ на Compiler warning cleanup - unitilized const variables, pointer type mismatch  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
On Thu, May 28, 2009 at 11:11:20AM +0200, Zdenek Kotala wrote:
> I attached another cleanup patch which fixes following warnings reported
> by Sun Studio:
> ...
> "preproc.c", line 39569: warning: pointer expression or its operand do not point to the same object yyerror_range,
resultis undefined and non-portable 
 
> ...
> Following list is still unfixed plus see my comments:
> 
> "gram.c", line 28487: warning: pointer expression or its operand do not point to the same object yyerror_range,
resultis undefined and non-portable 
 
> ...

These two should be the same, both coming from bison. Both files are
auto-generated, thus it might be bison that has to be fixed to remove this
warning. Given that I didn't find any mentioning of preproc in your patch I
suppose it just hit the wrong list though.

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Clean shutdown and warm standby
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: Compiler warning cleanup - unitilized const variables, pointer type mismatch