Re: New compile warnings
От | Tom Lane |
---|---|
Тема | Re: New compile warnings |
Дата | |
Msg-id | 21472.1100969611@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | New compile warnings (Bruce Momjian <pgman@candle.pha.pa.us>) |
Ответы |
Re: New compile warnings
|
Список | pgsql-hackers |
Bruce Momjian <pgman@candle.pha.pa.us> writes: > I am seeing the following compile warnings in CVS. I am using for perl: > Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: I believe these two: > plperl.c:948: warning: `ret_hv' might be used uninitialized in this function > plperl.c:949: warning: `ret_av' might be used uninitialized in this function indicate an actual bug --- at least, it's far from clear that the code can't try to use an uninitialized value. I trust that the authors of plperl will step up and fix it; I'm not sufficiently clear on what cases they are trying to support to want to touch it. The others indicate sloppiness in the C code generated by perl's XS functionality. There's nothing we can do about them. FWIW, less obsolete versions of Perl generate fewer warnings --- the only one of these that I see on 5.8.0 and up is > SPI.c:158: warning: unused variable `items' regards, tom lane
В списке pgsql-hackers по дате отправления: