Re: compiler warnings on the buildfarm

From: Kris Jurka <books(at)ejurka(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, gorm(dot)andersen(at)sun(dot)com
Subject: Re: compiler warnings on the buildfarm
Date: 2007-07-13 00:25:58
Message-ID: Pine.BSO.4.64.0707122025210.19651@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

Kris Jurka

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-07-13 00:27:33 Re: compiler warnings on the buildfarm
Previous Message Tom Lane 2007-07-13 00:19:04 Re: compiler warnings on the buildfarm