Skip to content

Commit e3d243c

Browse files
jonathanirvingsveluca93
authored andcommitted
tps loader: Compile manager and checker using gnu++17
1 parent e1f1230 commit e3d243c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmscontrib/loaders/tps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def get_task(self, get_statement=True):
231231
logger.info("Checker found, compiling")
232232
checker_exe = os.path.join(checker_dir, "checker")
233233
ret = subprocess.call([
234-
"g++", "-x", "c++", "-std=gnu++14", "-O2", "-static",
234+
"g++", "-x", "c++", "-std=gnu++17", "-O2", "-static",
235235
"-o", checker_exe, checker_src
236236
])
237237
if ret != 0:
@@ -289,7 +289,7 @@ def get_task(self, get_statement=True):
289289
logger.info("Manager found, compiling")
290290
manager_exe = os.path.join(graders_dir, "manager")
291291
ret = subprocess.call([
292-
"g++", "-x", "c++", "-O2", "-static",
292+
"g++", "-x", "c++", "-std=gnu++17", "-O2", "-static",
293293
"-o", manager_exe, manager_src
294294
])
295295
if ret != 0:

0 commit comments

Comments
 (0)