Re: Fixing MSVC's inability to detect elog(ERROR) does not return

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing MSVC's inability to detect elog(ERROR) does not return
Дата
Msg-id 1549558.1753316851@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fixing MSVC's inability to detect elog(ERROR) does not return  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Fixing MSVC's inability to detect elog(ERROR) does not return
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> I did a quick check of the postgres.exe size with and without this
> change. It does save about 13KB, but that seems to be entirely from
> the /std:c11 flag. None is due to the compiler emitting less code
> after elog(ERROR) / ereport(ERROR) :-(

Hmmm ... but you did check that in fact we can remove such known-dead
code and not get a warning now?

            regards, tom lane



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