From 9d545c6a87ecb076f9d058570de56a7da3f8cfa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pehr=20S=C3=B6derman?= Date: Sat, 17 Aug 2024 12:39:14 +0200 Subject: [PATCH] Bump the language versions for c and c++ --- problemtools/config/languages.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/problemtools/config/languages.yaml b/problemtools/config/languages.yaml index caa6dbb..43f3ab4 100644 --- a/problemtools/config/languages.yaml +++ b/problemtools/config/languages.yaml @@ -98,14 +98,14 @@ c: name: 'C' priority: 950 files: '*.c' - compile: '/usr/bin/gcc -g -O2 -std=gnu99 -static -o {binary} {files} -lm' + compile: '/usr/bin/gcc -g -O2 -std=gnu23 -static -o {binary} {files} -lm' run: '{binary}' cpp: name: 'C++' priority: 1000 files: '*.cc *.C *.cpp *.cxx *.c++' - compile: '/usr/bin/g++ -g -O2 -std=gnu++17 -static -o {binary} {files}' + compile: '/usr/bin/g++ -g -O2 -std=gnu++23 -static -o {binary} {files}' run: '{binary}' csharp: