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

Commit

Permalink
Switch some Cython files to c++, add some -std=c++11
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Feb 11, 2021
1 parent 904a494 commit 731ff53
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/sage/graphs/base/boost_graph.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# distutils: language = c++
# distutils: extra_compile_args = -std=c++11

#*****************************************************************************
# Copyright (C) 2015 Michele Borassi michele.borassi@imtlucca.it
Expand Down
3 changes: 2 additions & 1 deletion src/sage/libs/m4ri.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# distutils: extra_compile_args = -std=c99
# distutils: extra_compile_args = -std=c++11
# distutils: language = c++

cdef extern from "m4ri/m4ri.h":
ctypedef int rci_t
Expand Down
1 change: 1 addition & 0 deletions src/sage/libs/singular/decl.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# distutils: libraries = SINGULAR_LIBRARIES
# distutils: library_dirs = SINGULAR_LIBDIR
# distutils: language = c++
# distutils: extra_compile_args = -std=c++11

"""
Declarations of Singular's C/C++ Functions
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/finite_rings/element_givaro.pxd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# distutils: extra_compile_args = GIVARO_CFLAGS
# distutils: extra_compile_args = GIVARO_CFLAGS -std=c++11
# distutils: include_dirs = GIVARO_INCDIR

from libcpp.vector cimport vector
Expand Down

0 comments on commit 731ff53

Please sign in to comment.