Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6549a02

Browse files
committed
meson: Fix missing name arguments of cc.compiles() calls
Without it, the check won't show up in the meson setup/configureoutput.Discussion:https://www.postgresql.org/message-id/flat/795b1c54-c64a-47f9-8fa3-880dcab59975%40eisentraut.org
1 parent30f0176 commit6549a02

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1727,6 +1727,7 @@ if cc.compiles('''
17271727
my_label:
17281728
return 1;
17291729
}''',
1730+
name:'computed goto',
17301731
args: test_c_args)
17311732
cdata.set('HAVE_COMPUTED_GOTO',1)
17321733
endif
@@ -1743,6 +1744,7 @@ if cc.compiles('''
17431744
({ _Static_assert(1, "foo"); });
17441745
}
17451746
''',
1747+
name:'_Static_assert',
17461748
args: test_c_args)
17471749
cdata.set('HAVE__STATIC_ASSERT',1)
17481750
endif
@@ -2359,6 +2361,7 @@ elif host_cpu == 'ppc' or host_cpu == 'ppc64'
23592361
}
23602362
int test_adds(int x) { return addi(3, x) + addi(x, 5); }
23612363
''',
2364+
name:'@0@: "i"(x) when __builtin_constant_p(x)'.format(host_cpu),
23622365
args: test_c_args)
23632366
cdata.set('HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P',1)
23642367
endif
@@ -2547,7 +2550,7 @@ int main(void)
25472550
return y;
25482551
}
25492552
'''.format(kw),
2550-
name:'typeof()',
2553+
name:kw,
25512554
args: test_c_args,include_directories: postgres_inc)
25522555

25532556
cdata.set('HAVE_TYPEOF',1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp