Re: compiler warnings on the buildfarm

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: Kris Jurka <books(at)ejurka(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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 13:49:53
Message-ID: 46978301.5050302@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Heikki Linnakangas wrote:
> Zdenek Kotala wrote:
>> If I look there
>> http://www.opengroup.org/onlinepubs/008329799/chap5.htm#tagcjh_06
>>
>> in "Call Back Information" section. The structure is defined as
>>
>> struct pam_conv{ int (*conv) (int, struct pam_message **, struct
>> pam_response **, void *); void *appdata_ptr; };
>>
>>
>> I don't see any "const" keyword there.
>
> Right after that:
>
>> where int conv(int num_msg, const struct pam_message **msg,
>> struct pam_response **resp, void *appdata_ptr);

Ups, I overlooked it.

> How confusing...

Yes agree.

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2007-07-13 13:50:56 has anyone looked at burstsort ?
Previous Message Tom Lane 2007-07-13 13:46:32 Re: pgstat_drop_relation bugfix