CC: | bug-Unicode-Collate [...] rt.cpan.org |
Subject: | [perl #93470] [PATCH] consting in Collate.xs |
Date: | Fri, 24 Jun 2011 08:25:48 -0700 |
To: | "OtherRecipients of perl Ticket #93470":; |
From: | "Father Chrysostomos via RT" <perlbug-followup [...] perl.org> |
Let’s see what happens if I forward this to the CPAN queue from within
RT....
On Fri Jun 24 05:13:56 2011, rmbarker.cpan@btinternet.com wrote:
Show quoted text
> This is a bug report for perl from rmbarker.cpan@btinternet.com,
> generated with the help of perlbug 1.39 running under perl 5.14.1.
>
>
> -----------------------------------------------------------------
> [Please describe your issue here]
>
> Collate.xs in Unicode-Collate gives compiler warnings with
> -Wwrite-strings
> Attached patch silences the warnings
>
> [Please do not change anything below this line]
> -----------------------------------------------------------------
> ---
> Flags:
> category=library
> severity=low
> module=Unicode::Collate
> ---
> Site configuration information for perl 5.14.1:
>
> Configured by robin at Fri Jun 17 09:14:29 BST 2011.
>
> Summary of my perl5 (revision 5 version 14 subversion 1)
> configuration:
> Commit id: 0278edfff05ca950bb31e6c246e6dd51b5f64392
> Platform:
> osname=linux, osvers=2.6.35-28-generic, archname=i686-linux-64int
> uname='linux spade-ubuntu 2.6.35-28-generic #50-ubuntu smp fri mar
> 18 19:00:26 utc 2011 i686 gnulinux '
> config_args='-des -Dcc=gcc -Doptimize=-O2
> -Wno-unused-but-set-variable -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 -Wno-unused-but-set-variable -g',
> cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector
> -I/usr/local/include'
> ccversion='', gccversion='4.6.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/lib64
> libs=-lnsl -ldl -lm -lcrypt -lutil -lc
> perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
> libc=/lib/libc-2.12.1.so, so=so, useshrplib=false,
> libperl=libperl.a
> gnulibc_version='2.12.1'
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
> cccdlflags='-fPIC', lddlflags='-shared -O2
> -Wno-unused-but-set-variable -g -L/usr/local/lib -fstack-protector'
>
> Locally applied patches:
>
>
> ---
> @INC for perl 5.14.1:
> /usr/local/lib/perl5/site_perl/5.14.1/i686-linux-64int
> /usr/local/lib/perl5/site_perl/5.14.1
> /usr/local/lib/perl5/5.14.1/i686-linux-64int
> /usr/local/lib/perl5/5.14.1
> /usr/local/lib/perl5/site_perl/5.14.0/i686-linux-64int
> /usr/local/lib/perl5/site_perl/5.14.0
> /usr/local/lib/perl5/site_perl/5.12.3
> /usr/local/lib/perl5/site_perl/5.12.1
> /usr/local/lib/perl5/site_perl/5.12.0
> /usr/local/lib/perl5/site_perl
> .
>
> ---
> Environment for perl 5.14.1:
> HOME=/home/robin
> LANG=en_GB.UTF-8
> LANGUAGE (unset)
> 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
Show quoted text> PERL_BADLANG (unset)
> SHELL=/bin/tcsh
>