develooper Front page | perl.perl5.porters | Postings from February 2003

Re: MSWin32 seems lost again (18785)

Thread Previous | Thread Next
Enache Adrian
February 28, 2003 15:08
Re: MSWin32 seems lost again (18785)
Message ID:
On Fri, Feb 28, 2003 at 05:33:03AM -0800, Gurusamy Sarathy wrote:
> >That's in embed.fnc like this:
> >
> >Ap	|SV*	|sv_setsv_cow	|SV* dsv|SV* ssv
> >#endif
> >
> >Why isn't it working?
> That's not sufficient on platforms that need to be told which
> symbols actually need to be exported (aix/os2/win*/macos/etc).
> assumes by default that all symbols mentioned in
> embed.fnc need exporting, so you need to tell it otherwise
> since the above symbol is only conditionally available.  It
> would be nice to make smarter (i.e. automatically
> parse the #ifdefs in embed.fnc) but something like the
> attached patch should take you past the above error.  The
> patch is completely untested (sorry, ENOTUIT).

Just an idea:

Would piping embed.fnc through the C preprocessor (before passing
it to work ?



Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About