Re: compiler warnings on the buildfarm - Mailing list pgsql-hackers

From Tom Lane
Subject Re: compiler warnings on the buildfarm
Date
Msg-id 16415.1184285944@sss.pgh.pa.us
Whole thread Raw
In response to Re: compiler warnings on the buildfarm  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Responses Re: compiler warnings on the buildfarm  (Kris Jurka <books@ejurka.com>)
List pgsql-hackers
Stefan Kaltenbrunner <stefan@kaltenbrunner.cc> writes:
> animal: dragonfly           warnings: 67
> auth.c:61: warning: initialization from incompatible pointer type

> animal: emperor_moth        warnings: 10
> auth.c:61: warning: initialization from incompatible pointer type

Apparently, Solaris 9 and 10 have funny ideas about the signature of the
PAM callback function.  We have

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?  (Look for struct pam_conv
in the headers)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: compiler warnings on the buildfarm
Next
From: Kris Jurka
Date:
Subject: Re: compiler warnings on the buildfarm