From 7bd4753e146e21a87d470191925bdeae4f678d92 Mon Sep 17 00:00:00 2001 From: Philipenko Vladimir Date: Mon, 5 Aug 2024 09:14:19 +0300 Subject: [PATCH] maybe fix --- _build_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_build_utils.py b/_build_utils.py index 70e24d7..e239db1 100644 --- a/_build_utils.py +++ b/_build_utils.py @@ -59,7 +59,7 @@ def get_ext_modules(): on_windows = platform.system() == 'Windows' args = ['/openmp' if on_windows else '-fopenmp'] cpp_args = [ - '/std:c++20' if on_windows else '-std=c++2a', + '/std:c++17' if on_windows else '-std=c++17', '/O3' if on_windows else '-O3', ] # FIXME: account for higher gcc versions