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: 2024-12-29T14:13:09Z
Lists: pgsql-hackers
Attachments
- 0001-meson-Fix-missing-name-arguments-of-cc.compiles-call.patch (text/plain) patch 0001
- 0002-Remove-useless-configure-check.patch (text/plain) patch 0002
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.
Commits
-
Remove useless configure check
- 9a8313dabe5e 18.0 landed
-
meson: Fix missing name arguments of cc.compiles() calls
- 6549a02a51e8 18.0 landed