Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message
Date
Msg-id 1358971.1753300026@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message
List pgsql-bugs
I wrote:
> I still see a way to avoid a configure check though: let's make
> src/include/port/solaris.h "#define _PAM_LEGACY_NONCONST".
> That should make OpenIndiana enough like other Solaris-alikes
> for the purpose, and we can also use that same symbol to cue
> our code how to declare the callback function.

Done that way at

https://git.postgresql.org/gitweb/?p=postgresql.git;a=patch;h=635a856279ef55074dfc7a2a96c7fd686b5ff015

If you can confirm that you get a clean build with this patch,
I'd appreciate it.

            regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message
Next
From: PG Bug reporting form
Date:
Subject: BUG #18996: Assertion fails in waiteventset.c when dropping database in single mode in PG18