#16560: Upgrade lrcalc to 1.1.7
-------------------------------------+-------------------------------------
Reporter: tscrim | Owner: sage-combinat
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.3
Component: packages: | Resolution:
standard | Merged in:
Keywords: lrcalc | Reviewers: François Bissey
Authors: Travis Scrimshaw | Work issues:
Report Upstream: N/A | Commit:
Branch: | 7134ee179bfa1126cde66f8fc4e1e30db5e89a4a
public/packages/lrcalc_1_1_7-16560 | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by fbissey):
Hum.... it seems it cannot cop with lrcalc_panic_frame being defined in
mathlib/alloc.h
{{{
#include <setjmp.h>
/* Programs using the lrcalc library should set lrcalc_panic_frame
* with setjmp(lrcalc_panic_frame). The lrcalc library will call
* longjmp(lrcalc_panic_frame, 1) if an "out of memory" event occurs.
*/
jmp_buf lrcalc_panic_frame;
}}}
All the files for which the linker is complaining about are inheriting the
declaration through multiple include statement but are not using it. I
guess the proper course of action, from a correctness point of view, would
be to create a specific header for it and include it only where needed.
Looking for other options....
--
Ticket URL: <http://trac.sagemath.org/ticket/16560#comment:9>
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.