From d55b4067e0ba49087a2d6970506de30fe33c65c0 Mon Sep 17 00:00:00 2001 From: Laurent Pugin Date: Mon, 25 Nov 2024 10:29:23 +0100 Subject: [PATCH] Update setup.py Fix remaining reverted attempt to use C++23 [skip-ci] --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index fd0c1962c92..0a7c7d241c0 100644 --- a/setup.py +++ b/setup.py @@ -83,10 +83,10 @@ def get_version() -> str: # extra compile arguments EXTRA_COMPILE_ARGS = ['-DPYTHON_BINDING'] if platform.system() != 'Windows': - EXTRA_COMPILE_ARGS += ['-std=c++23', + EXTRA_COMPILE_ARGS += ['-std=c++20', '-Wno-write-strings', '-Wno-overloaded-virtual', '-g0'] else: - EXTRA_COMPILE_ARGS += ['/std:c++23', + EXTRA_COMPILE_ARGS += ['/std:c++20', '-DNO_PAE_SUPPORT'] verovio_module = Extension('verovio._verovio',