| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: problems with extensions compiling after upgrade to fc42 (and gcc15) |
| Date: | 2025-02-05 20:58:11 |
| Message-ID: | CAFj8pRAwWTvPZ8_dY-Ei+yjKYub-DJwjezcaEjaod-5AoHiX+g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
st 5. 2. 2025 v 21:55 odesílatel Peter Eisentraut <peter(at)eisentraut(dot)org>
napsal:
> On 05.02.25 21:31, Pavel Stehule wrote:
> > I found a problem with compilation of plpgsql_check when I upgraded my
> > fedora.
> >
> > plpgsql_check cannot be compiled (against PostgreSQL 15-). The
> > compilation fails
> >
> > rc/expr_walk.c:84:66: warning: passing argument 2 of ‘query_tree_walker’
> > from incompatible pointer type [-Wincompatible-pointer-types]
> > 84 |
> > detect_dependency_walker,
> > |
> > ^~~~~~~~~~~~~~~~~~~~~~~~
> > |
> |
> > |
> > _Bool (*)(Node *, void *)
> > In file included from src/expr_walk.c:14:
> > /usr/local/pgsql/13/include/server/nodes/nodeFuncs.h:137:52: note:
> > expected ‘_Bool (*)(void)’ but argument is of type ‘_Bool (*)(Node *,
> > void *)’
> > 137 | extern bool query_tree_walker(Query *query, bool (*walker) (),
> > | ~~~~~~~^~~~~~~~~~
> > src/expr_walk.c:43:1: note: ‘detect_dependency_walker’ declared here
> > 43 | detect_dependency_walker(Node *node, void *context)
> > | ^~~~~~~~~~~~~~~~~~~~~~~~
> >
> > It is strange, so the source code of Postgres is compiled without
> problems.
> >
> > The workaround is pushing to Makefiie
> >
> > override CFLAGS += -Wno-error=incompatible-pointer-types
>
> This will be fixed in the next minor releases. See commit f00c401c65a
> for example.
>
>
ok, thank you for info
Regards
Pavel
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Marcos Pegoraro | 2025-02-05 21:07:13 | Better visualization of default values |
| Previous Message | Devulapalli, Raghuveer | 2025-02-05 20:58:03 | RE: Proposal for Updating CRC32C with AVX-512 Algorithm. |