add noreturn to functions which call 'exit'

This commit is contained in:
2025-03-04 11:55:42 +01:00
parent f7cfeb3ad5
commit 9d50e7a584
3 changed files with 7 additions and 8 deletions

4
.vscode/launch.json vendored
View File

@@ -8,7 +8,7 @@
"env": {
"DEBUG": "1",
"ASAN_OPTIONS": "detect_leaks=0",
"UBSAN_OPTIONS": "print_stacktrace=1:halt_on_error=1",
"UBSAN_OPTIONS": "print_stacktrace=1:halt_on_error=1"
},
"program": "",
"linux": {
@@ -20,7 +20,7 @@
"preLaunchTask": "(dbg) compile win-x86_64",
"program": "${workspaceFolder}/bin/linux-x86_64/dbg/${workspaceFolderBasename}.exe",
"cwd": "${workspaceFolder}/bin/win-x86_64/dbg/"
},
}
}
]
}

4
.vscode/tasks.json vendored
View File

@@ -4,12 +4,12 @@
{
"label": "(dbg) compile linux-x86_64",
"type": "shell",
"command": "DEBUG=1 make linux-x86_64",
"command": "DEBUG=1 make linux-x86_64"
},
{
"label": "(dbg) compile win-x86_64",
"type": "shell",
"command": "DEBUG=1 make win-x86_64",
"command": "DEBUG=1 make win-x86_64"
}
]
}