Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, Elliot Chance <elliotchance(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)
Date: 2010-12-27 20:12:34
Message-ID: 4565.1293480754@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Peter Geoghegan's message of lun dic 27 16:13:33 -0300 2010:
>> constexpr
>> decltype
>> nullptr
>> static_assert

> I think only constexpr is being currently used from this list, and it's
> easily fixed because it's not exposed beyond a single file.

If you're looking at the usage in predtest.c, it's not an issue since
it's not in a header file. There's no ambition here to make our .c
files compilable in C++.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Geoffrey Myers 2010-12-27 20:18:05 Pitr
Previous Message Alvaro Herrera 2010-12-27 20:03:55 Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2010-12-27 20:20:41 Re: pg_ctl and port number detection
Previous Message Николай Ижиков 2010-12-27 20:06:55 Re: Archlinux, ossp-uuid