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

Commit35f4f7f

Browse files
committed
Improved warning check [skip ci]
1 parent32e95a8 commit35f4f7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/hnsw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ hnswcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
223223
staticbytea*
224224
hnswoptions(Datumreloptions,boolvalidate)
225225
{
226-
#ifPG_VERSION_NUM >=180000
226+
#ifPG_VERSION_NUM >=180000&& defined(__GNUC__)
227227
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
228228
#endif
229229
staticconstrelopt_parse_elttab[]= {

‎src/ivfflat.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ivfflatcostestimate(PlannerInfo *root, IndexPath *path, double loop_count,
151151
staticbytea*
152152
ivfflatoptions(Datumreloptions,boolvalidate)
153153
{
154-
#ifPG_VERSION_NUM >=180000
154+
#ifPG_VERSION_NUM >=180000&& defined(__GNUC__)
155155
#pragma GCC diagnostic ignored "-Wmissing-field-initializers"
156156
#endif
157157
staticconstrelopt_parse_elttab[]= {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp