Re: gcc 11.1.0 warnings in llvmjit_expr.c

Andres Freund <andres@anarazel.de>

From: Andres Freund <andres@anarazel.de>
To: Erik Rijkers <er@xs4all.nl>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-05-06T05:30:44Z
Lists: pgsql-hackers
Hi,

On 2021-04-29 00:07:01 +0200, Erik Rijkers wrote:
> gcc 11.1.0 produces quite a litany of second thoughts when compiling llvmjit_expr.c; is there something in it?

They're wrong, but I can see why it warns - the signature choice was
weird. Pushed the fix to 13 and master.

Greetings,

Andres Freund



Commits

  1. jit: Fix warning reported by gcc-11 caused by dubious function signature.