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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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:03:55
Message-ID: 1293479926-sup-9075@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Excerpts from Peter Geoghegan's message of lun dic 27 16:13:33 -0300 2010:
> I hope that we don't make the mistake of not checking for collisions
> with C++0x keywords, for which GCC 4.3+ has partial support. The new
> standard is almost complete, so it will probably become a lot more
> relevant soon. There are quite a few new keywords in C++0x, including:
>
> 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.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-12-27 20:12:34 Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)
Previous Message Peter Geoghegan 2010-12-27 19:48:50 Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)

Browse pgsql-hackers by date

  From Date Subject
Next Message Николай Ижиков 2010-12-27 20:06:55 Re: Archlinux, ossp-uuid
Previous Message Simon Riggs 2010-12-27 19:51:43 Re: Reduce lock levels for ADD and DROP COLUMN