mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-16 15:26:00 -06:00
try adding option /std:c++20 for Windows
This commit is contained in:
@@ -15,7 +15,7 @@ if on_windows:
|
||||
cpath = '../c/pgf/'
|
||||
extra_sources = [cpath+f for f in os.listdir(cpath) if f.endswith('.cxx')]
|
||||
includes+=["../c"]
|
||||
flags = ['/DCOMPILING_STATIC_PGF=1']
|
||||
flags = ['/DCOMPILING_STATIC_PGF=1', "/std:c++20"]
|
||||
else:
|
||||
extra_sources = []
|
||||
flags = ['-std=c99', '-Werror', '-Wno-error=unused-variable', '-Wno-comment']
|
||||
|
||||
Reference in New Issue
Block a user