Re: pg_attribute_noreturn(), MSVC, C11
От | Peter Eisentraut |
---|---|
Тема | Re: pg_attribute_noreturn(), MSVC, C11 |
Дата | |
Msg-id | 00f91261-5e2d-4553-9b18-ade7e3a484ab@eisentraut.org обсуждение исходный текст |
Ответ на | Re: pg_attribute_noreturn(), MSVC, C11 (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: pg_attribute_noreturn(), MSVC, C11
|
Список | pgsql-hackers |
On 13.12.24 20:54, Andres Freund wrote: > Another wrinkle: While __attribute__((noreturn)) works for function pointers > (or function pointer typedefs) _Noreturn doesn't. Gah. We only use it that > way in two places, but still :( Yeah, I wrote an experimental patch for noreturn support some years ago, and that was also my result back then. (I assume you have a current patch, otherwise I can dig out that one.) I had also written down that there were some problems with Perl and Tcl headers, FWIW. Did you have any problems with those? I think we can take a small loss here and move with the standard. Unless you can think of a way to define pg_noreturn_but_for_function_pointers in a systematic way.
В списке pgsql-hackers по дате отправления: