Skip Menu |

This queue is for tickets about the Math-Pari CPAN distribution.

Report information
The Basics
Id: 20541
Status: open
Priority: 0/
Queue: Math-Pari

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

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.010706



Subject: [FIX] compilation error fixed on cygwin
The default install fails to compile on Cygwin: gcc -c -I ./pari-2.1.7/src -I./pari-2.1.7/src/headers -I./pari-2.1.7/src -I./libPARI -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe -I/usr/local/include -DUSEIMPORTLIB -O3 -DVERSION=\"2.010706\" -DXS_VERSION=\"2.010706\" "-I/usr/lib/perl5/5.8/cygwin/CORE" -DPARI_VERSION_EXP=2001007 -DDEBUG_PARI -DLSB_in_U32=0 -DLONG_SHORTER_THAN_IV -Derr=pari_err -DGCC_INLINE Pari.c make[1]: Entering directory `/cygdrive/c/Documents and Settings/jrockway/Application Data/.cpanplus/5.8.7/build/Math-Pari-2.010706/libPARI' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/cygdrive/c/Documents and Settings/jrockway/Application Data/.cpanplus/5.8.7/build/Math-Pari-2.010706/libPARI' Pari.xs: In function `findVariable': Pari.xs:422: warning: cast to pointer from integer of different size Pari.xs:438: warning: cast to pointer from integer of different size Pari.xs:661:4: #error "LONG_SHORTER_THAN_IV not implemented" However, if you uncomment the error and fix the syntax of what's inside the block: (line 667) - GEN a = my_ulongtoi((ulong)(uv>>(8*sizeof(ulong))); + GEN a = my_ulongtoi((ulong)(uv>>(8*sizeof(ulong)))); Everything compiles fine and all the tests pass. If this is a broken workaround, then there's a bug in your test suite :) -- Jonathan Rockway <jrockway@cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #20541] [FIX] compilation error fixed on cygwin
Date: Tue, 25 Jul 2006 15:25:53 -0700
To: Jonathan Rockway via RT <bug-Math-Pari [...] rt.cpan.org>
From: Ilya Zakharevich <nospam-abuse [...] ilyaz.org>
On Tue, Jul 18, 2006 at 05:50:55PM -0400, Jonathan Rockway via RT wrote: Show quoted text
> Pari.xs: In function `findVariable': > Pari.xs:422: warning: cast to pointer from integer of different size > Pari.xs:438: warning: cast to pointer from integer of different size > Pari.xs:661:4: #error "LONG_SHORTER_THAN_IV not implemented" > > However, if you uncomment the error and fix the syntax of what's inside > the block: > > (line 667) > - GEN a = my_ulongtoi((ulong)(uv>>(8*sizeof(ulong))); > + GEN a = my_ulongtoi((ulong)(uv>>(8*sizeof(ulong)))); > > Everything compiles fine and all the tests pass. If this is a broken > workaround, then there's a bug in your test suite :)
Thanks. In fact, I know about this failure, but had no possibility to act upon it yet. Really soon now... Yours, Ilya