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

Started by Peter Eisentrautover 1 year ago2 messageshackers
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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
#2Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#1)
Re: meson: Fix missing name arguments of cc.compiles() calls

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