mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-23 18:48:48 +00:00
Use -Wno-unused-result
when compile c++ src
This commit is contained in:
parent
413432dbbf
commit
06b28530e1
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -5,7 +5,7 @@
|
|||||||
"code-runner.runInTerminal": true,
|
"code-runner.runInTerminal": true,
|
||||||
"code-runner.executorMap": {
|
"code-runner.executorMap": {
|
||||||
"c": "gcc $fileName -o $fileNameWithoutExt.exe -O2 -lm && ./$fileNameWithoutExt.exe",
|
"c": "gcc $fileName -o $fileNameWithoutExt.exe -O2 -lm && ./$fileNameWithoutExt.exe",
|
||||||
"cpp": "g++ --std=c++14 $fileName -o $fileNameWithoutExt.exe -O2 -lm -I \"$(git rev-parse --show-toplevel)/includes/testlib\" -I \"$(git rev-parse --show-toplevel)/includes/ac-library\" -fsanitize=address,undefined -fno-ms-extensions -Wall && ./$fileNameWithoutExt.exe",
|
"cpp": "g++ --std=c++14 $fileName -o $fileNameWithoutExt.exe -O2 -lm -I \"$(git rev-parse --show-toplevel)/includes/testlib\" -I \"$(git rev-parse --show-toplevel)/includes/ac-library\" -fsanitize=address,undefined -fno-ms-extensions -Wall -Wno-unused-result && ./$fileNameWithoutExt.exe",
|
||||||
"python": "python -u $fileName",
|
"python": "python -u $fileName",
|
||||||
"go": "go run $fileName",
|
"go": "go run $fileName",
|
||||||
"javascript": "node $fileName",
|
"javascript": "node $fileName",
|
||||||
|
Loading…
Reference in New Issue
Block a user