Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 901159FBB5F for ; Fri, 13 Jul 2007 07:03:06 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 73299-05 for ; Fri, 13 Jul 2007 07:02:50 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from gmp-ea-fw-1.sun.com (gmp-ea-fw-1.sun.com [192.18.1.36]) by postgresql.org (Postfix) with ESMTP id 8B95C9FBACD for ; Fri, 13 Jul 2007 07:02:56 -0300 (ADT) Received: from d1-emea-09.sun.com ([192.18.2.119]) by gmp-ea-fw-1.sun.com (8.13.6+Sun/8.12.9) with ESMTP id l6DA2nFf021954 for ; Fri, 13 Jul 2007 10:02:50 GMT Received: from conversion-daemon.d1-emea-09.sun.com by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) id <0JL4004013SWXA00@d1-emea-09.sun.com> (original mail from Zdenek.Kotala@Sun.COM) for pgsql-hackers@postgresql.org; Fri, 13 Jul 2007 11:02:49 +0100 (BST) Received: from [129.150.120.147] by d1-emea-09.sun.com (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPSA id <0JL4005C63WOQG2U@d1-emea-09.sun.com>; Fri, 13 Jul 2007 11:02:49 +0100 (BST) Date: Fri, 13 Jul 2007 12:02:48 +0200 From: Zdenek Kotala Subject: Re: compiler warnings on the buildfarm In-reply-to: To: Kris Jurka Cc: Tom Lane , Stefan Kaltenbrunner , PostgreSQL-development , Gorm.Andersen@Sun.COM Message-id: <46974DC8.8040906@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT References: <46962BBD.5000108@kaltenbrunner.cc> <17428.1184249229@sss.pgh.pa.us> <469653BA.2040004@kaltenbrunner.cc> <20917.1184257896@sss.pgh.pa.us> <46969A2E.2020608@kaltenbrunner.cc> <16415.1184285944@sss.pgh.pa.us> User-Agent: Thunderbird 2.0.0.0 (X11/20070508) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200707/377 X-Sequence-Number: 105292 Kris Jurka wrote: > > > On Thu, 12 Jul 2007, Tom Lane wrote: > >> static int pam_passwd_conv_proc(int num_msg, const struct pam_message >> ** msg, >> struct pam_response ** resp, void *appdata_ptr); >> >> which exactly matches what my Fedora 6 pam header file says it should >> be. What is it on those Solaris machines? > > struct pam_conv { > int (*conv)(int, struct pam_message **, > struct pam_response **, void *); > void *appdata_ptr; /* Application data ptr */ > }; > > So pam_message ** isn't const. > Yes, according to X/Open XSSO Standard - see http://www.opengroup.org/onlinepubs/008329799/ http://www.opengroup.org/onlinepubs/008329799/pam_start.htm#tagcjh_07_32 Zdenek