meson: Fix missing name arguments of cc.compiles() calls

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: meson: Fix missing name arguments of cc.compiles() calls
Date: 2024-12-29 14:13:09
Message-ID: 795b1c54-c64a-47f9-8fa3-880dcab59975@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed a few cc.compiles() checks in meson.build don't show up in the
"meson setup" output, because they don't have a "name" argument. Also,
the "typeof" test doesn't show the name of the symbol that is currently
being tested. All this makes remote debugging a bit harder. This patch
fixes it.

While analyzing the fixed output, I also noticed that the test for
decltype as an alternative to typeof never actually worked and was just
forgotten to be removed. This is also fixed here.

Attachment Content-Type Size
0001-meson-Fix-missing-name-arguments-of-cc.compiles-call.patch text/plain 1.4 KB
0002-Remove-useless-configure-check.patch text/plain 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2024-12-29 15:39:13 Re: PoC: history of recent vacuum/checkpoint runs (using new hooks)
Previous Message Heikki Linnakangas 2024-12-29 13:58:48 table_tuple_lock's snapshot argument