Re: Warning -Wclobbered in PG_TRY(...)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Warning -Wclobbered in PG_TRY(...)
Дата
Msg-id 1854609.1748517245@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Warning -Wclobbered in PG_TRY(...)
Список pgsql-hackers
m.litsarev@postgrespro.ru writes:
> Does it makes sense to add volatile attribute to the _do_rethrow or 
> should we just ignore that -Wclobbered warning?

-Wclobbered would be really useful if it worked --- but sadly,
on practically all gcc and clang versions, those warnings have
nearly nothing to do with reality.  We typically ignore them.
See eg:

https://www.postgresql.org/message-id/4001633.1722625252@sss.pgh.pa.us

            regards, tom lane



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