meson: Fix missing name arguments of cc.compiles() calls
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.
Attachments:
0001-meson-Fix-missing-name-arguments-of-cc.compiles-call.patchtext/plain; charset=UTF-8; name=0001-meson-Fix-missing-name-arguments-of-cc.compiles-call.patchDownload+4-2
0002-Remove-useless-configure-check.patchtext/plain; charset=UTF-8; name=0002-Remove-useless-configure-check.patchDownload+3-4
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