Re: plperl compiler warning - Mailing list pgsql-hackers

From Joe Conway
Subject Re: plperl compiler warning
Date
Msg-id 4B61BAD8.7000903@joeconway.com
Whole thread Raw
In response to Re: plperl compiler warning  (Tim Bunce <Tim.Bunce@pobox.com>)
Responses Re: plperl compiler warning  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 01/28/2010 07:30 AM, Tim Bunce wrote:
> On Thu, Jan 28, 2010 at 06:31:19AM -0800, Joe Conway wrote:
>> Last night I noted the following warning:
>>
>> plperl.c: In function ‘plperl_create_sub’:
>>
>> plperl.c:1117: warning: null argument where non-null required (argument 2)
>
> The master branch of my git clone says line 1117 is:
>
>     subref = newRV_inc((SV*)GvCVu((GV*)sub_glob));
>
> Does that match yours? (If not, what is the text on the line?)

I pull directly from CVS, not git, but in any case my line 1117 is
     subref = newRV_inc((SV*)GvCVu((GV*)sub_glob));

so it appears to be the same

> What perl version are you using?
> What compiler version are you using?

I'm on stock Fedora 12:

perl.x86_64             4:5.10.0-87.fc12
gcc.x86_64              4.4.2-20.fc12

HTH,

Joe


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Streaming replication, and walsender during recovery
Next
From: Tim Bunce
Date:
Subject: Re: Add on_trusted_init and on_untrusted_init to plperl [PATCH]