Re: cpluspluscheck complains about use of register

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cpluspluscheck complains about use of register
Дата
Msg-id 3055138.1729887565@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: cpluspluscheck complains about use of register  ("Tristan Partin" <tristan@partin.io>)
Ответы Re: cpluspluscheck complains about use of register
Список pgsql-hackers
"Tristan Partin" <tristan@partin.io> writes:
> FWIW, I ran into this compiling an extension written in C++ for v15, so 
> I'll throw my support for backpatching this if that is still on the 
> table. Understandable if not, though.

I'm inclined to think "too late".  Even if we back-patched to v15
and earlier now, your extension would probably still want to be
compilable against earlier minor releases, so the back-patch
would not help you a lot.  Christoph's workaround of
"#define register" is probably the best answer for old PG versions,
or you can compile with "-Wno-register".

            regards, tom lane



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