Re: Mostly Harmless: Welcoming our C++ friends - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Mostly Harmless: Welcoming our C++ friends
Date
Msg-id 3679.1229087126@sss.pgh.pa.us
Whole thread Raw
In response to Re: Mostly Harmless: Welcoming our C++ friends  (Kurt Harriman <harriman@acm.org>)
Responses Re: Mostly Harmless: Welcoming our C++ friends  (Kurt Harriman <harriman@acm.org>)
List pgsql-hackers
Kurt Harriman <harriman@acm.org> writes:
> However, probably an easier alternative would be to have
> just one buildfarm machine do a nightly build configured
> with the --enable-cplusplus option.

There is no such option, and won't be.

> This would build one file - main.c - as C++ (necessary
> because on some platforms the main() function needs to be
> C++ to ensure the C++ runtime library is initialized).

Useless, since main.c doesn't include any large number of headers,
and in particular there is no reason for it to include the headers
that are critical to function libraries.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: SQL/MED compatible connection manager
Next
From: Martin Pihlak
Date:
Subject: Re: psql commands for SQL/MED