develooper Front page | perl.perl5.porters | Postings from July 2012

[perl #114128] silence warnings in build and test

Thread Previous
From:
Robin Barker
Date:
July 13, 2012 07:55
Subject:
[perl #114128] silence warnings in build and test
Message ID:
rt-3.6.HEAD-11172-1342191302-764.114128-75-0@perl.org
# New Ticket Created by  Robin Barker 
# Please include the string:  [perl #114128]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=114128 >


This is a bug report for perl from rmbarker.cpan@btinternet.com,
generated with the help of perlbug 1.39 running under perl 5.17.2.


-----------------------------------------------------------------
[Please describe your issue here]

I see the following warnings.  The attached patches silence them.

pp_ctl.c: In function ‘Perl_find_runcv_where’:
pp_ctl.c:3282:22: warning: cast from pointer to integer of different
size [-Wpointer-to-int-cast]

cpan/ExtUtils-MakeMaker/t/MM_OS2 ..............................
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/"DL_FUNCS" => { <-- HERE   }/ at t/MM_OS2.t line
45.

ext/Pod-Html/t/feature ........................................
--libpods is no longer supported at ../../lib/Pod/Html.pm line 517.

lib/Class/Struct .............................................. function
'count' already defined, overrides struct accessor method
at ../lib/Class/Struct.t line 41.

lib/DB ........................................................
Unescaped left brace in regex is deprecated, passed through in regex;
marked by <-- HERE in m/eval { <-- HERE ...}/ at ../lib/DB.t line 129.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
    category=install
    severity=low
---
Site configuration information for perl 5.17.2:

Configured by robin at Thu Jul 12 16:38:20 BST 2012.

Summary of my perl5 (revision 5 version 17 subversion 2) configuration:
  Commit id: 20da2e5b86ba0d7b84f7fde98446cf2287b33741
  Platform:
    osname=linux, osvers=2.6.38-15-generic, archname=i686-linux-64int
    uname='linux spade-ubuntu 2.6.38-15-generic #61-ubuntu smp tue jun
12 19:15:11 utc 2012 i686 i686 i386 gnulinux '
    config_args='-ders -Dcc=gcc -Dusedevel -Doptimize=-O2 -DDEBUGGING
-Duse64bitint -Dman3dir=none -Dcf_email=rmbarker.cpan@btinternet.com'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-O2 -g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector
-I/usr/local/include'
    ccversion='', gccversion='4.7.0', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -fstack-protector -L/usr/local/lib'

libpth=/usr/local/lib /lib /usr/lib /usr/lib/i386-linux-gnu /usr/lib64
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -O2 -g -L/usr/local/lib
-fstack-protector'

Locally applied patches:
    

---
@INC for perl 5.17.2:
    lib
    /usr/local/lib/perl5/site_perl/5.17.2/i686-linux-64int
    /usr/local/lib/perl5/site_perl/5.17.2
    /usr/local/lib/perl5/5.17.2/i686-linux-64int
    /usr/local/lib/perl5/5.17.2
    /usr/local/lib/perl5/site_perl
    .

---
Environment for perl 5.17.2:
    HOME=/home/robin
    LANG=en_GB.UTF-8
    LANGUAGE=en_GB:en
    LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
    LOGDIR (unset)

PATH=/home/robin/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/tcsh

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About