pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Watkins <awatkins1966@gmail.com>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message
Date: Wed, 23 Jul 2025 15:47:06 -0400
Message-ID: <1358971.1753300026@sss.pgh.pa.us> (raw)
In-Reply-To: <1341739.1753296062@sss.pgh.pa.us>
References: <18995-82058da9ab4337a7@postgresql.org>
	<1313566.1753280855@sss.pgh.pa.us>
	<CAH5VfSHUdo1-OPtTn2rbr6LK9eYOtPpjh0=ctNiEMQmYL7BpPw@mail.gmail.com>
	<1341739.1753296062@sss.pgh.pa.us>

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=635a856279ef55074dfc7a2a96c7fd686b5ff0...

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

			regards, tom lane





view thread (8+ messages)  latest in thread

Message-ID: <1358971.1753300026@sss.pgh.pa.us>
Permalink:  ../1358971.1753300026@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1358971.1753300026@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, awatkins1966@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message
  In-Reply-To: <1358971.1753300026@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox