Return-Path: Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 64343 invoked by uid 500); 12 Jun 2003 20:33:48 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 64320 invoked from network); 12 Jun 2003 20:33:47 -0000 Received: from saturn.ecos.de (217.7.64.130) by daedalus.apache.org with SMTP; 12 Jun 2003 20:33:47 -0000 Received: from lnx1.i.ecos.de (neptun.ecos.de [217.7.64.151]) by saturn.ecos.de (Postfix) with ESMTP id 02007D8825; Thu, 12 Jun 2003 22:33:48 +0200 (MET DST) Received: from wingr2 (unknown [10.11.12.200]) by lnx1.i.ecos.de (Postfix) with SMTP id A8318ED8D9; Thu, 12 Jun 2003 22:33:47 +0200 (MEST) Message-ID: <085801c33121$c72eca00$c80c0b0a@wingr2> From: "Gerald Richter" To: "Angus Lees" Cc: "embperl" References: <054201c32f03$d5d3c9e0$c80c0b0a@wingr2> <87he6vfnjo.wl@gus.inodes.org> Subject: Re: ANNOUNCE: Embperl 2.0b9 Date: Thu, 12 Jun 2003 22:31:13 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Angus, > > there are zillions of compile warnings about "suggest parentheses > around assignment used as truth value" in the ExtUtils::XSBuilder > generated code and a few elsewhere (when compiling with > OPTIMIZE=-Wall). I cleaned up these compile warnings with one of my > patches I posted a while ago (also included in the debian > libextutils-xsbuilder-perl package). Gerald, I can repost these > patches if they got lost somewhere. > I just searched back in my mail folders, but I didn't found a patch for xsbuilder. So please resend it. > xs/Embperl/Req.xs gets errdat1, errdat2 and lastwarn accessors wrong. > - it thinks they're type char (not char*) and the default value for > "val" is NULL (which is wrong for a char). > > Embperl::Req::Config::mult_field_sep assigns NULL to a char type too. > - from memory, this was a simple change to ExtUtils::XSBuilder's > null_type(), to teach it about "char". > xsbuilder doesn't handle char (without *) correctly. That's known bug and needs to be fixed. > CV* foo = epxs_sv2_SVPTR() gives an "assignment from incompatible > pointer type" (at least in Embperl::Req::Config::allow()) > There is simply I typecast missing. I fixed it here in XSBuilder. > mod_embperl.c:417: warning: unsigned int format, pointer arg (arg 3) > - I'm not sure what this sprintf is trying to do; left over > debugging? You comment this line out (and the defintion of buf). It was start for some code for smarter handlin of Embperl_APPNAME, but is not working yet. > > your recent additions to Embperl/Form/Validate/ seem to have not made > it into the released tar.gz (they're in CVS). > Oops, that's. I fixed the MANIFEST > errgv_empty_set should return an I32 (not IV) to match struct ufuncs > prototype. > That's true. Is now fixed. (Stolen this from mod_perl and not verified the data type...) > epcomp.c:embperl_COmpileCmd() > - nCodeLen might need to be initialised to 0 Need not to be inialized, but I have done this now to avoid the compiler warning. > > epdom.c:DomTree_dodelete() > - xNode might need to be initialised to -1 (if ArrayGetSize(a,pLookup) == 0) > if ArrayGetSize(a,pLookup) == 0 we don't go into the while loop and nNode is never used. So no need to initialize. Thanks very much for your comments Gerald --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org