Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-generalpgsql-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

pgsql-hackers by date

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

pgsql-general by date

Next:From: Adrian KlaverDate: 2011-01-02 23:06:23
Subject: Re: CSV-bulk import and defaults
Previous:From: Thomas SchmidtDate: 2011-01-02 22:22:14
Subject: CSV-bulk import and defaults

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group