compiler warning

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема compiler warning
Дата
Msg-id 201102030340.p133eBX05520@momjian.us
обсуждение исходный текст
Ответы Re: compiler warning  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
I am seeing the following compiler warning for the past few days:
basebackup.c:213: warning: variable `ptr' might be clobbered by`longjmp' or `vfork'

and I see this comment in the file:
/* * Actually do a base backup for the specified tablespaces. * * This is split out mainly to avoid complaints about
"variablemight be * clobbered by longjmp" from stupider versions of gcc. */
 

Seems that isn't working as expected.  I am using:
gcc version 2.95.3 20010315 (release)

with -O1.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Error code for "terminating connection due to conflict with recovery"
Следующее
От: Robert Haas
Дата:
Сообщение: Re: sepgsql contrib module