Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uefQm-00D2oo-64 for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jul 2025 19:47:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uefQk-004DPL-LE for pgsql-bugs@arkaria.postgresql.org; Wed, 23 Jul 2025 19:47:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uefQk-004DP7-CB for pgsql-bugs@lists.postgresql.org; Wed, 23 Jul 2025 19:47:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uefQh-000TRh-0v for pgsql-bugs@lists.postgresql.org; Wed, 23 Jul 2025 19:47:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 56NJl6Yx1358972; Wed, 23 Jul 2025 15:47:06 -0400 From: Tom Lane To: Andrew Watkins cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18995: Building with GCC 14 fails: incompatible pointer struct pam_message In-reply-to: <1341739.1753296062@sss.pgh.pa.us> References: <18995-82058da9ab4337a7@postgresql.org> <1313566.1753280855@sss.pgh.pa.us> <1341739.1753296062@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 23 Jul 2025 14:41:02 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1358970.1753300026.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 23 Jul 2025 15:47:06 -0400 Message-ID: <1358971.1753300026@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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=3Dpostgresql.git;a=3Dpatch;h=3D635a85= 6279ef55074dfc7a2a96c7fd686b5ff015 If you can confirm that you get a clean build with this patch, I'd appreciate it. regards, tom lane