Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit 731ff53

Browse files
author
Matthias Koeppe
committed
Switch some Cython files to c++, add some -std=c++11
1 parent 904a494 commit 731ff53

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

src/sage/graphs/base/boost_graph.pxd

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# distutils: language = c++
2+
# distutils: extra_compile_args = -std=c++11
23

34
#*****************************************************************************
45
# Copyright (C) 2015 Michele Borassi [email protected]

src/sage/libs/m4ri.pxd

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# distutils: extra_compile_args = -std=c99
1+
# distutils: extra_compile_args = -std=c++11
2+
# distutils: language = c++
23

34
cdef extern from "m4ri/m4ri.h":
45
ctypedef int rci_t

src/sage/libs/singular/decl.pxd

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# distutils: libraries = SINGULAR_LIBRARIES
44
# distutils: library_dirs = SINGULAR_LIBDIR
55
# distutils: language = c++
6+
# distutils: extra_compile_args = -std=c++11
67

78
"""
89
Declarations of Singular's C/C++ Functions

src/sage/rings/finite_rings/element_givaro.pxd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# distutils: extra_compile_args = GIVARO_CFLAGS
1+
# distutils: extra_compile_args = GIVARO_CFLAGS -std=c++11
22
# distutils: include_dirs = GIVARO_INCDIR
33

44
from libcpp.vector cimport vector

0 commit comments

Comments
 (0)