Re: assume availability of "inline" keyword
| От | Nathan Bossart |
|---|---|
| Тема | Re: assume availability of "inline" keyword |
| Дата | |
| Msg-id | aZdqb9df6oqsUq9m@nathan обсуждение исходный текст |
| Ответ на | Re: assume availability of "inline" keyword (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: assume availability of "inline" keyword
|
| Список | pgsql-hackers |
On Thu, Feb 19, 2026 at 02:19:33PM -0500, Tom Lane wrote: > All those usages are guarded by > > #if defined(__GNUC__) || defined(__INTEL_COMPILER) > > so we are only concerned with gcc-alikes, which reduces the risks > of trouble. However, I have a vague recollection that it is/was > possible to put gcc in a mode where it only takes __inline__ > not inline. This is likely something you get from -std=c90 or > thereabouts, which would be irrelevant now. But I'd suggest > checking it's okay under -std=c11 (not gnu11), just to be sure. Right. I checked a couple of compilers and none seemed to mind this patch with -std=c11. -- nathan
В списке pgsql-hackers по дате отправления: