Skip to content

Commit 4ad27aa

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent 21194f7 commit 4ad27aa

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

pydatastructs/utils/_backend/cpp/GraphEdge.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <Python.h>
66
#include <string>
77
#include <variant>
8+
#include <cstdint>
89
#include "GraphNode.hpp"
910

1011
extern PyTypeObject GraphEdgeType;

pydatastructs/utils/_extensions.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@
1616
'graph_utils.cpp'])]
1717

1818
extensions = [
19-
Extension(nodes, sources=nodes_sources),
20-
Extension(graph_utils, sources = graph_utils_sources)
19+
Extension(
20+
nodes,
21+
sources=nodes_sources,
22+
extra_compile_args=["-std=c++17"]
23+
),
24+
Extension(
25+
graph_utils,
26+
sources=graph_utils_sources,
27+
extra_compile_args=["-std=c++17"]
28+
)
2129
]

0 commit comments

Comments
 (0)