Skip to content

Commit

Permalink
Merge pull request #271 from pehrsoderman/bump-c-and-cpp
Browse files Browse the repository at this point in the history
Bump the language versions for c and c++
  • Loading branch information
pehrsoderman authored Aug 17, 2024
2 parents 1a0ae9d + 9d545c6 commit 315647c
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 315647c

Please sign in to comment.