From: | John Naylor <john(dot)naylor(at)enterprisedb(dot)com> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: warning: comparison of integer expressions of different signedness related to simd.h |
Date: | 2022-09-03 05:50:24 |
Message-ID: | CAFBsxsHRxZ_4Hgqpa2yjDCh5gLHbSivkUHaZrYc1p2ctQt51WQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Sep 3, 2022 at 12:30 PM Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
>
> Hi
>
> I got fresh warnings when I build an extension
>
> In file included from /usr/local/pgsql/master/include/server/mb/pg_wchar.h:22,
> from src/format.c:17:
> /usr/local/pgsql/master/include/server/port/simd.h: In function ‘vector8_has’:
> /usr/local/pgsql/master/include/server/port/simd.h:168:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
> 168 | for (int i = 0; i < sizeof(Vector8); i++)
> | ^
"int" should probably be "Size" -- does that remove the warning?
--
John Naylor
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Pavel Stehule | 2022-09-03 05:53:52 | Re: warning: comparison of integer expressions of different signedness related to simd.h |
Previous Message | Ibrar Ahmed | 2022-09-03 05:47:32 | Re: Avoid erroring out when unable to remove or parse logical rewrite files to save checkpoint work |