Re: cpluspluscheck complains about use of register - Mailing list pgsql-hackers

From Tom Lane
Subject Re: cpluspluscheck complains about use of register
Date
Msg-id 2444191.1664049685@sss.pgh.pa.us
Whole thread Raw
In response to Re: cpluspluscheck complains about use of register  (Andres Freund <andres@anarazel.de>)
Responses Re: cpluspluscheck complains about use of register
Re: cpluspluscheck complains about use of register
List pgsql-hackers
Andres Freund <andres@anarazel.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



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: cpluspluscheck complains about use of register
Next
From: Andres Freund
Date:
Subject: Re: cpluspluscheck complains about use of register