Re: C++ compiler - Mailing list pgsql-hackers

From Tom Lane
Subject Re: C++ compiler
Date
Msg-id 29207.1372133763@sss.pgh.pa.us
Whole thread Raw
In response to Re: C++ compiler  (Bruce Momjian <bruce@momjian.us>)
Responses Re: C++ compiler
Re: C++ compiler
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Right. I don't think there are any C features we want to avoid;  are
> there any?

We're avoiding C99-and-later features that are not in C89, such as //
for comments, as well as more useful things.  It might be time to
reconsider whether we should move the baseline portability requirement
up to C99.  I'm really not in favor of moving to C++ though, as the
portability-vs-usefulness tradeoffs seem pretty unattractive there.
(Still :-(.  Bjorn should've frozen that language twenty years ago,
but he completely blew it as far as stability goes.)
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [9.4 CF 1] The Commitfest Slacker List
Next
From: Tom Lane
Date:
Subject: Re: pg_filedump 9.3: checksums (and a few other fixes)