#20926: C++11 workarounds
-------------------------------------+-------------------------------------
Reporter: vbraun | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-7.3
Component: packages: | Resolution:
standard |
Keywords: gcc6 c++11 | Merged in:
Authors: Volker Braun | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/vbraun/c__11_workarounds | dd8be5f08e02a91bd8d3e98fa2c6ef5a393e08b4
Dependencies: #20927 #20741 | Stopgaps:
#20738 |
-------------------------------------+-------------------------------------
Comment (by leif):
Replying to [comment:13 leif]:
> I've posted a patch for the Sage library on sage-release.
{{{
#!patch
diff --git a/src/sage/libs/linbox/linbox.pxd
b/src/sage/libs/linbox/linbox.pxd
index 0afd7bf..87a5e79 100644
--- a/src/sage/libs/linbox/linbox.pxd
+++ b/src/sage/libs/linbox/linbox.pxd
@@ -1,3 +1,6 @@
+# distutils: language = c++
+# distutils: extra_compile_args = -std=c++98
+
from sage.libs.gmp.types cimport mpz_t
include 'sage/modules/vector_modn_sparse_h.pxi'
diff --git a/src/sage/matrix/matrix_modn_sparse.pxd
b/src/sage/matrix/matrix_modn_sparse.pxd
index 5273ec3..14a98e7 100644
--- a/src/sage/matrix/matrix_modn_sparse.pxd
+++ b/src/sage/matrix/matrix_modn_sparse.pxd
@@ -1,3 +1,5 @@
+# distutils: language = c
+
cimport matrix_sparse
include 'sage/modules/vector_modn_sparse_h.pxi'
}}}
--
Ticket URL: <https://trac.sagemath.org/ticket/20926#comment:14>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.