Skip Menu |

This queue is for tickets about the XML-Parser CPAN distribution.

Report information
The Basics
Id: 3070
Status: resolved
Priority: 0/
Queue: XML-Parser

People
Owner: Nobody in particular
Requestors: blair [...] orcaware.com
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 2.32
Fixed in: 2.35



Subject: make test warnings with 2.32
Hello, I'm seeing the following make test warnings with ActiveState Perl build 806 PERL_DL_NONLAZY=1 /opt/i386-linux/installed/perl-5.8.0/bin/perl5.8.0 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/astress.........ok t/cdata...........ok t/decl............ok t/defaulted.......ok t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line 94. t/encoding........ok t/external_ent....ok t/file............ok t/finish..........ok t/namespaces......ok t/parament........ok t/partial.........ok t/skip............ok t/stream..........ok t/styles..........Name "main::OLDERR" used only once: possible typo at t/styles.t line 14. t/styles..........ok Best, Blair % perl -V Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration: Platform: osname=linux, osvers=2.4.20-18.9, archname=i686-linux-thread-multi uname='linux orcaware.com 2.4.20-18.9 #1 thu may 29 07:08:16 edt 2003 i686 i686 i386 gnulinux ' config_args='-Dprefix=/opt/i386-linux/installed/perl-5.8.0 -Dcc=/opt/i386-linux/gcc/bin/gcc -Doptimize=-O3 -march=i386 -mcpu=i686 -Uinstallusrbinperl -Ulocincpth -Duseshrplib -Dcf_email=blair@orcaware.com -Ui_db -Uversiononly -Ubincompat5005 -Dusethreads -Duseithreads -Dlibpth=/lib /usr/lib -Dlibspath=/lib /usr/lib -Dd_dosuid' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='/opt/i386-linux/gcc/bin/gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm', optimize='-O3 -march=i386 -mcpu=i686', cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm' ccversion='', gccversion='3.3', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='/opt/i386-linux/gcc/bin/gcc', ldflags ='' libpth=/lib /usr/lib libs=-lnsl -lgdbm -ldl -lm -lpthread -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil libc=/lib/libc-2.3.2.so, so=so, useshrplib=true, libperl=libperl.so gnulibc_version='2.3.2' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux-thread-multi/CORE' cccdlflags='-fpic', lddlflags='-shared' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT Locally applied patches: ActivePerl Build 806 Built under linux Compiled at Jun 25 2003 17:38:15 @INC: /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.0/lib/5.8.0 /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0/i686-linux-thread-multi /opt/i386-linux/installed/perl-5.8.0/lib/site_perl/5.8.0 /opt/i386-linux/installed/perl-5.8.0/lib/site_perl .
From: marek.rouchal [...] infineon.com
Same here with XML-Parser-2.33: ... t/encoding........"my" variable $p masks earlier declaration in same scope at t/encoding.t line 94. ... The fix is simple: --- t/encoding.t.old 2003-08-05 16:43:12.000000000 +0200 +++ t/encoding.t 2003-08-05 16:43:38.000000000 +0200 @@ -91,7 +91,7 @@ %attr = @list; } -my $p = new XML::Parser(Handlers => {Start => \&get_attr}); +$p = new XML::Parser(Handlers => {Start => \&get_attr}); eval{ $p->parse($docstring) };