#13498: 4ti2 fails to build with GCC >= 4.7
-------------------------------------------+--------------------------------
Reporter: novoselt | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-5.9
Component: packages: optional | Resolution:
Keywords: -fpermissive C++11 spkg | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------------------+--------------------------------
Comment (by leif):
Replying to [comment:4 leif]:
> Unfortunately, just adding `-fpermissive` is not sufficient:
> {{{
> RaySupportAlgorithm.tpp:792:44: error: no matching function for call to
‘sort(_4ti2_::VectorArray&, std::vector<_4ti2_::ShortDenseIndexSet,
std::allocator<_4ti2_::ShortDenseIndexSet> >&, _4ti2_::Index&, int&, int&,
int&)’
> RaySupportAlgorithm.tpp:792:44: error: no matching function for call to
‘sort(_4ti2_::VectorArray&, std::vector<_4ti2_::LongDenseIndexSet,
std::allocator<_4ti2_::LongDenseIndexSet> >&, _4ti2_::Index&, int&, int&,
int&)’
> RayMatrixAlgorithm.tpp:884:44: error: no matching function for call to
‘sort(_4ti2_::VectorArray&, std::vector<_4ti2_::ShortDenseIndexSet,
std::allocator<_4ti2_::ShortDenseIndexSet> >&, _4ti2_::Index&, int&, int&,
int&)’
> RayMatrixAlgorithm.tpp:884:44: error: no matching function for call to
‘sort(_4ti2_::VectorArray&, std::vector<_4ti2_::LongDenseIndexSet,
std::allocator<_4ti2_::LongDenseIndexSet> >&, _4ti2_::Index&, int&, int&,
int&)’
> }}}
Using `RayImplementation<IndexSet>::sort` there solves these for me (GCC
4.8.0).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13498#comment:7>
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.