Skip to content

Commit

Permalink
Bump the language versions for c and c++
Browse files Browse the repository at this point in the history
  • Loading branch information
pehrsoderman committed Aug 17, 2024
1 parent 1a0ae9d commit 9d545c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions problemtools/config/languages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9d545c6

Please sign in to comment.