#14636: ECL spkg : dirty workarounds?
--------------------------------------+-------------------------------------
       Reporter:  Snark               |         Owner:  jdemeyer    
           Type:  defect              |        Status:  new         
       Priority:  major               |     Milestone:  sage-pending
      Component:  packages: standard  |    Resolution:              
       Keywords:                      |   Work issues:              
Report Upstream:  N/A                 |     Reviewers:              
        Authors:                      |     Merged in:              
   Dependencies:                      |      Stopgaps:              
--------------------------------------+-------------------------------------

Comment (by nbruin):

 Replying to [comment:7 Snark]:
 > I just found that sage/libs/ecl.pxd has a copy of ecl's
 src/h/external.h's ecl_option enum... lacking the ECL_OPT_TRAP_SIGCHLD
 item! That means all subsequent items in the list are off-by-one... how is
 that code even supposed to run correctly!?

 I assume that's an "extern" definition. It just gets translated literally
 into the C-source which then uses the values that `external.h` provides.
 Just as `cdef typedef extern struct` can afford to only mention the fields
 that are of interest, or even only with approximate types.

 It may well be that particular member wasn't in ecl when the wrapper was
 written. Add it if you need it.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14636#comment:8>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to