Re: Make copyObject work in C++

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Subject: Re: Make copyObject work in C++
Date: 2026-02-28 11:31:24
Message-ID: CAGECzQR44EjGni+vqqQC6MuoDELeOENX5+5FeUeY-yCTRSFkNg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 27 Feb 2026 at 17:52, Peter Eisentraut <peter(at)eisentraut(dot)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).

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2026-02-28 11:57:16 Re: Skipping schema changes in publication
Previous Message James Pang 2026-02-28 09:46:30 hot standby failed in read pg_commit_ts