pgsql: Make typeof and typeof_unqual fallback definitions work on C++11 - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Make typeof and typeof_unqual fallback definitions work on C++11
Date
Msg-id E1w1fGs-000Eon-0O@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Make typeof and typeof_unqual fallback definitions work on C++11
List pgsql-committers
Make typeof and typeof_unqual fallback definitions work on C++11

These macros were unintentionally using C++14 features. This replaces
them with valid C++11 code.

Tested locally by compiling with -std=c++11 (which reproduced the
original issue).

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/92f9750f-c7f6-42d8-9a4a-85a3cbe808f3%40eisentraut.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cd083b54bd675a6c941b2d52f398cebbf95b060f

Modified Files
--------------
src/include/c.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Switch the semaphore API on Solaris to unnamed POSIX.
Next
From: Melanie Plageman
Date:
Subject: pgsql: Initialize missing fields in CreateExecutorState()