From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove uses of register due to incompatibility with C++17 and up
Date: Sat, 24 Sep 2022 20:51:30 +0000
Message-ID: <E1ocC7V-001qnY-MY@gemulon.postgresql.org> (raw)
Remove uses of register due to incompatibility with C++17 and up
The use in regexec.c could remain, since we only try to keep headers C++
clean. But there really doesn't seem to be a good reason to use register in
that spot.
Discussion: https://postgr.es/m/20220308185902.ibdqmasoaunzjrfc@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/03bf971d2dc701d473705fd00891028d140dd5ae
Modified Files
--------------
.cirrus.yml | 4 +---
src/backend/regex/regexec.c | 2 +-
src/include/port/atomics/arch-x86.h | 2 +-
src/include/storage/s_lock.h | 14 +++++++-------
4 files changed, 10 insertions(+), 12 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Remove uses of register due to incompatibility with C++17 and up
In-Reply-To: <E1ocC7V-001qnY-MY@gemulon.postgresql.org>
References: <E1ocC7V-001qnY-MY@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox