#16882: Update to NTL 6.2.1
-------------------------------------+-------------------------------------
       Reporter:  jpflori            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  spkg ntl           |    Reviewers:
        Authors:  Jean-Pierre Flori  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  b67d968eeb957854a0e1f1e5906bb61ec48e8a5e
  u/jpflori/ticket/16882             |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jpflori):

 Euh, yes indeed.
 This looks different as my problem was with template instantiation.
 Here there is an undefined reference.
 What tricked me earlier is that the problematic function is the same.

 For the record, here is my report to Victor Shoup:
 I've been playing for a few moments with NTL 6.2.0 and it looks really
 nice.
 Nonetheless I don't seem able to build singular 3-6-0 on top of it.

 Indeed g++ spits:
 {{{../../../../../../../../include/NTL/vector.h:427:4: error: no matching
 function for call to 'NTL::Vec<NTL::Pair<NTL::GF2X, long int>
 >::Init(long int&, const NTL::Pair<NTL::GF2X, long int>&, const
 NTL::Pair<NTL::GF2X, long int>&)'
 ../../../../../../../../include/NTL/vector.h:427:4: note: candidates are:
 ../../../../../../../../include/NTL/vector.h:379:6: note: void
 NTL::Vec<T>::Init(long int) [with T = NTL::Pair<NTL::GF2X, long int>]
 ../../../../../../../../include/NTL/vector.h:379:6: note:   candidate
 expects 1 argument, 3 provided
 ../../../../../../../../include/NTL/vector.h:389:6: note: void
 NTL::Vec<T>::Init(long int, const T*) [with T = NTL::Pair<NTL::GF2X,
 long int>]
 ../../../../../../../../include/NTL/vector.h:389:6: note:   candidate
 expects 2 arguments, 3 provided
 ../../../../../../../../include/NTL/vector.h:400:6: note: void
 NTL::Vec<T>::Init(long int, const T&) [with T = NTL::Pair<NTL::GF2X,
 long int>]
 ../../../../../../../../include/NTL/vector.h:400:6: note:   candidate
 expects 2 arguments, 3 provided
 }}}

 And looking at the new vector.h from NTL, on line 427, there is indeed
 a call to:
 Init(n, a, *src);
 within the DoSetLength definition.

 And no corresponding function in vector.h (whereas there are indeed
 three definitions for Init with different signatures.)

 Am I missing something here?

 Best regards,

--
Ticket URL: <http://trac.sagemath.org/ticket/16882#comment:32>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to