On Tue, 2 Oct 2001, Stas Bekman wrote:

> 
> In all XS files we disable prototypes in the boot section, but not in the
> rest of the file, which means that by default the prototyping is enabled.
> However with a stock 5.6.1 perl the prototypes are missing and therefore
> in maintainer mode it won't build. I've even tried to explicitly specify
> -prototypes in xsubpp args, but it ignores it.

-prototypes means create Perl prototypes for the xsubs based on
PROTOTYPE: xs keyword

> Base64.c:35: warning: no previous prototype for `XS_APR__Base64_decode_len'

which is not the same as these prototypes.  these are C prototypes.

the change to generate C prototypes for the XS functions generated by
xsubpp is post 5.6.1:

[  8309] By: jhi                                   on 2001/01/04  18:29:07
        Log: Subject: Re: [patch] static-ize XS()
             From: Doug MacEachern <[EMAIL PROTECTED]>
             Date: Mon, 1 Jan 2001 15:26:01 -0800 (PST)
             Message-ID: <[EMAIL PROTECTED]>
             
             Provide prototypes for the XS functions.
     Branch: perl
           ! lib/ExtUtils/xsubpp


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to