#12437: lcalc defines default values for functions outside of declarations
-------------------------------------+-------------------------------------
Reporter: ohanar | Owner: GeorgSWeber
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.7
Component: packages: | Resolution:
standard | Merged in:
Keywords: C++11 C++14 GCC 5 | Reviewers:
clang | Work issues: Locate patches and
Authors: | upload them... ;-)
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: #12681 |
-------------------------------------+-------------------------------------
Changes (by leif):
* keywords: => C++11 C++14 GCC 5 clang
* work_issues: Create a new spkg. => Locate patches and upload them... ;-)
* milestone: sage-6.4 => sage-6.7
Old description:
> c++ compilers that are pickier than g++ will not allow this.
>
> I've posted an spkg that fixes this (and #12435, #12436) at
> [http://wstein.org/home/ohanar/clang-
> port/sage-5.0.beta1-src/spkg/standard/lcalc-1.23.p10.spkg]. (This is a
> review spkg in case there are more issues with clang down the road.)
New description:
c++ compilers that are pickier than g++ will not allow this.
GCC 5.x again got stricter and now also needs the second "default
parameter" patch (or once again `-fpermissive`) mentioned below.
----
(Meanwhile historical note from Andrew:)
I've posted an spkg that fixes this (and #12435, #12436) at
[http://wstein.org/home/ohanar/clang-
port/sage-5.0.beta1-src/spkg/standard/lcalc-1.23.p10.spkg]. (This is a
review spkg in case there are more issues with clang down the road.)
--
Comment:
GCC 5.x now also needs a small subset of the fixes for clang (or
`-fpermissive`; then also a couple of Sage extension modules which include
Lcalc headers have to get built with `-fpermissive`, in `CFLAGS`(!)).
(cf. ticket description)
I'll probably deal with that on another ticket.
--
Ticket URL: <http://trac.sagemath.org/ticket/12437#comment:21>
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.