We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c6812 commit a54c123Copy full SHA for a54c123
run
@@ -83,6 +83,7 @@ run() {
83
# C[++] fam specifics
84
default_debugger
85
CFLAGS="-Wall"
86
+ CPPSTD="-std=c++20"
87
if [[ $DEBUG == true ]]; then
88
CFLAGS+=" -g -O0"
89
else
@@ -102,7 +103,7 @@ run() {
102
103
fi
104
105
elif [[ ${FILE#*.} == cpp ]]; then
- "${CXX:=g++}" ${CFLAGS} "$FILE" -o "${FILE%%.*}.out"
106
+ "${CXX:=g++}" ${CPPSTD} ${CFLAGS} "$FILE" -o "${FILE%%.*}.out"
107
108
"$debugger" "${FILE%%.*}.out"
109
elif [[ $COMPILE != true ]]; then
0 commit comments