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

From: Peter Geoghegan <peter(dot)geoghegan86(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Alvaro Herrera <alvherre(at)commandprompt(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>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: C++ keywords in headers (was Re: [GENERAL] #include <funcapi.h>)
Date: 2011-01-02 22:51:13
Message-ID: AANLkTimLW5CDDkJX=pe7_dC_463LRS5ijaz0wQQ1w-gL@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

I believe that Dave Page wants to move to building pg for windows
using visual C++ 2010 some time this year. That alone may be enough of
a reason to check for C++0x keywords in headers:

http://blogs.msdn.com/b/vcblog/archive/2010/04/06/c-0x-core-language-features-in-vc10-the-table.aspx

I think that there is likely to be an expectation that the same
compiler that is used to build pg should be able to include pg headers
in C++ TUs.

--
Regards,
Peter Geoghegan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-01-02 23:06:23 Re: CSV-bulk import and defaults
Previous Message Thomas Schmidt 2011-01-02 22:22:14 CSV-bulk import and defaults

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2011-01-02 23:17:42 Re: How to know killed by pg_terminate_backend
Previous Message Jim Nasby 2011-01-02 22:11:25 Re: contrib/snapshot