Re: cpluspluscheck complains about use of register

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Subject: Re: cpluspluscheck complains about use of register
Date: 2022-09-24 20:01:25
Message-ID: 2444191.1664049685@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andres Freund <andres(at)anarazel(dot)de> writes:
> I hit this again while porting cplupluscheck to be invoked by meson as
> well. ISTM that we should just remove the uses of register.

OK by me.

> I tried to use -Wregister to keep us honest going forward, but unfortunately
> it only works with a C++ compiler...

I think we only really care about stuff that cpluspluscheck would spot,
so I don't feel a need to mess with the standard compilation flags.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2022-09-24 22:13:00 Re: cpluspluscheck complains about use of register
Previous Message Peter Geoghegan 2022-09-24 19:59:30 Re: cpluspluscheck complains about use of register