#18316: Lcalc fails to build with GCC 5.x (C++ issue)
-------------------------+-------------------------------------------------
Reporter: leif | Owner: leif
Type: defect | Status: new
Priority: critical | Milestone: sage-6.7
Component: packages: | Keywords: default parameters definition
standard | -fpermissive g++
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-------------------------+-------------------------------------------------
GCC 5.1 (i.e., `g++`) again got stricter with respect to C++ conformance,
and hence another piece of the changes necessary to let Lcalc build with
Clang (cf. #12437) is needed for `g++` as well, namely forbidden default
parameters in function ''definitions'' ("Part II").
This also affects the Sage library, i.e., extension modules using Lcalc's
headers won't build either (but fixing the Lcalc package also fixes that).
Note that distutils ignore `CXXFLAGS`, so `-fpermissive` has to be passed
'''in `CFLAGS`''' (for these modules) until Lcalc gets fixed.
The patch is trivial though.
--
Ticket URL: <http://trac.sagemath.org/ticket/18316>
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.