Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 63484
Status: resolved
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.66
Fixed in: (no value)



Subject: Compilation warnings (unused variables)
When building DateTime on perl5.8.8 linux, there are various warnings: CPAN.pm: Going to build D/DR/DROLSKY/DateTime-0.66.tar.gz Creating new 'MYMETA.yml' with configuration results Creating new 'Build' script for 'DateTime' version '0.66' CPAN: Module::Build loaded ok (v0.3603) Building DateTime gcc -Ic -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -DXS_VERSION="0.66" -DVERSION="0.66" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -o lib/DateTime.o lib/DateTime.c lib/DateTime.c: In function �XS_DateTime__rd2ymd�: lib/DateTime.c:148: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__ymd2rd�: lib/DateTime.c:241: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__seconds_as_components�: lib/DateTime.c:292: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__normalize_tai_seconds�: lib/DateTime.c:364: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__normalize_leap_seconds�: lib/DateTime.c:405: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__time_as_seconds�: lib/DateTime.c:453: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__is_leap_year�: lib/DateTime.c:480: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__day_length�: lib/DateTime.c:505: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__day_has_leap_second�: lib/DateTime.c:533: warning: unused variable �self� lib/DateTime.c: In function �XS_DateTime__accumulated_leap_seconds�: lib/DateTime.c:561: warning: unused variable �self� ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/DateTime/DateTime.bs') gcc -shared -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -L/usr/local/lib -o blib/arch/auto/DateTime/DateTime.so lib/DateTime.o DROLSKY/DateTime-0.66.tar.gz ./Build -- OK All unit tests pass.
Subject: Re: [rt.cpan.org #63484] Compilation warnings (unused variables)
Date: Tue, 30 Nov 2010 21:39:21 -0600 (CST)
To: Karen Etheridge via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 30 Nov 2010, Karen Etheridge via RT wrote: Show quoted text
> lib/DateTime.o lib/DateTime.c > lib/DateTime.c: In function ???XS_DateTime__rd2ymd???: > lib/DateTime.c:148: warning: unused variable ???self???
I can't reproduce this with my copy of 5.8.8. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/
On 2010-11-30 19:39:30, autarch@urth.org wrote: Show quoted text
> I can't reproduce this with my copy of 5.8.8.
And now neither can I (nor do I care about 5.8.8 anymore) :)