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

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-01-05T10:59:39Z
Lists: pgsql-hackers
On 29.12.24 15:13, Peter Eisentraut wrote:
> 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.

committed



Commits

  1. Remove useless configure check

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