From 2eea34f2c97ac8e11e4d238ece120f56f4cefc60 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 7 Sep 2024 16:14:05 -0400 Subject: [PATCH] GRR --- setup.py | 2 +- src/main.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index fcf6567..d8aff4a 100644 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ def cpp_flag(compiler): """Return the -std=c++[11/14/17] compiler flag. The newer version is prefered over c++11 (when it is available). """ - flags = ['-std=c++14'] # , '-std=c++14', '-std=c++11'] + flags = ['-std=c++11'] # , '-std=c++14', '-std=c++11'] for flag in flags: if has_flag(compiler, flag): diff --git a/src/main.cpp b/src/main.cpp index ea7f100..c5c85f5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,5 @@ + #include "trie_container.hpp" #include #include @@ -48,7 +49,7 @@ PYBIND11_MODULE(atriegc, m) { #ifdef VERSION_INFO - m.attr("__version__") = VERSION_INFO; + m.attr("__version__") = PYBIND11_TOSTRING(VERSION_INFO); #else m.attr("__version__") = "dev"; #endif