Re: Make copyObject work in C++ - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Make copyObject work in C++
Date
Msg-id CAGECzQR44EjGni+vqqQC6MuoDELeOENX5+5FeUeY-yCTRSFkNg@mail.gmail.com
Whole thread
In response to Re: Make copyObject work in C++  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Fri, 27 Feb 2026 at 17:52, Peter Eisentraut <peter@eisentraut.org> wrote:
> Have you tested whether/how these configure/meson tests work if no C++
> compiler is found?
>
> (I haven't, I'm just wondering.)

I hadn't before, but done now. It compiles postgres without problems
(but without the cplusplusext extension ofcourse). For meson the new
meson checks are inside have_cxx, so they are not run at all. For
configure the checks are run, but they detect typeof as not available
in C++ (because its unable to compile the test program).



pgsql-hackers by date:

Previous
From: James Pang
Date:
Subject: hot standby failed in read pg_commit_ts
Next
From: Amit Kapila
Date:
Subject: Re: Skipping schema changes in publication