Remove uses of register due to incompatibility with C++17 and up
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| .cirrus.yml | modified | +1 −3 |
| src/backend/regex/regexec.c | modified | +1 −1 |
| src/include/port/atomics/arch-x86.h | modified | +1 −1 |
| src/include/storage/s_lock.h | modified | +7 −7 |
Discussion
- cpluspluscheck complains about use of register 13 messages · 2022-03-08 → 2024-10-25