Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Fix remaining reverted attempt to use C++23 [skip-ci]
  • Loading branch information
lpugin authored Nov 25, 2024
1 parent bc4bb02 commit d55b406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit d55b406

Please sign in to comment.