#9343: upgrade pari to version 2.4.3
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  tbd     
       Type:  enhancement  |      Status:  new     
   Priority:  major        |   Milestone:  sage-4.5
  Component:  packages     |    Keywords:          
     Author:               |    Upstream:  N/A     
   Reviewer:               |      Merged:          
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by fbissey):

 genus2reduction suffer the same kind of problems. But it is more serious:
 {{{
 genus2reduction.c: In function ‘main’:
 genus2reduction.c:476: error: ‘polun’ undeclared (first use in this
 function)
 genus2reduction.c:476: error: (Each undeclared identifier is reported only
 once
 genus2reduction.c:476: error: for each function it appears in.)
 genus2reduction.c:600: error: ‘polx’ undeclared (first use in this
 function)
 genus2reduction.c:96: warning: ignoring return value of ‘scanf’, declared
 with attribute warn_unused_result
 genus2reduction.c:98: warning: ignoring return value of ‘scanf’, declared
 with attribute warn_unused_result
 genus2reduction.c: In function ‘factorpadicnonun’:
 genus2reduction.c:1676: error: ‘polx’ undeclared (first use in this
 function)
 genus2reduction.c: In function ‘polymini’:
 genus2reduction.c:1701: error: ‘polx’ undeclared (first use in this
 function)
 genus2reduction.c:1712: error: ‘zero’ undeclared (first use in this
 function)
 genus2reduction.c:1731: error: ‘un’ undeclared (first use in this
 function)
 genus2reduction.c: In function ‘discpart’:
 genus2reduction.c:1818: error: ‘polun’ undeclared (first use in this
 function)
 genus2reduction.c: In function ‘polyminizi’:
 genus2reduction.c:1856: error: ‘gi’ undeclared (first use in this
 function)
 genus2reduction.c:1859: error: ‘polx’ undeclared (first use in this
 function)
 genus2reduction.c: In function ‘polyminizi2’:
 genus2reduction.c:1939: error: ‘polx’ undeclared (first use in this
 function)
 genus2reduction.c:1942: error: ‘gi’ undeclared (first use in this
 function)
 genus2reduction.c: In function ‘zi2mod’:
 genus2reduction.c:2001: error: ‘gi’ undeclared (first use in this
 function)
 }}}
 polun, polx, zero and un were all defined in pariold.h but are not
 anywhere
 anymore in pari-2.4. I cannot track the definition of gi in anything from
 pari-2.3, anyone knows where that come from and what it should be replaced
 with?
 There is a line in pari-2.3 headers mentioning it but not a definition of
 it
 as far as I can see:
 {{{
 #define is_universal_constant(x) ((GEN)(x) >= gen_0 && (GEN)(x) <= gi)
 }}}
 this is in paristio.h form pari-2.3.5.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9343#comment:31>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to