Skip to content

Commit 95795cc

Browse files
Prerak SinghPrerak Singh
authored andcommitted
bug fix
1 parent db5ff2b commit 95795cc

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
@@ -21,6 +21,14 @@
2121
extra_compile_args = ["/std:c++17"]
2222

2323
extensions = [
24-
Extension(nodes, sources=nodes_sources, language="c++", extra_compile_args=extra_compile_args),
25-
Extension(graph_utils, sources=graph_utils_sources, language="c++", extra_compile_args=extra_compile_args),
24+
Extension(
25+
nodes,
26+
sources=nodes_sources,
27+
extra_compile_args=["-std=c++17"]
28+
),
29+
Extension(
30+
graph_utils,
31+
sources=graph_utils_sources,
32+
extra_compile_args=["-std=c++17"]
33+
)
2634
]

0 commit comments

Comments
 (0)