| От | Tom Lane |
|---|---|
| Тема | Re: Compiler warning with 'fast' variable |
| Дата | |
| Msg-id | 24115.1239144504@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Compiler warning with 'fast' variable (Bruce Momjian <bruce@momjian.us>) |
| Ответы |
Re: Compiler warning with 'fast' variable
|
| Список | pgsql-hackers |
Bruce Momjian <bruce@momjian.us> writes:
> Any idea why I am seeing this warning with the new pg_start_backup()
> 'fast' flag?
> xlog.c:6917: warning: variable `fast' might be clobbered by
> `longjmp' or `vfork'
> The line is in a PG_ENSURE_ERROR_CLEANUP() block. This is with gcc
> version 2.95.3.
That's pretty bizarre --- I don't see it here with gcc 2.95.3,
and there is no reason for such a warning to appear on a variable
that isn't changed during the function.
We could stick a volatile on it but I'd like to find out why this
particular variable seems to need that.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера