vscode: update c config and add settings

main
anna 3 years ago
parent 8f54584493
commit 3a8887ad51
Signed by: fef
GPG Key ID: EC22E476DC2D3D84

@ -1,13 +1,44 @@
{
"configurations": [
{
"name": "GayBSD x86",
"name": "GayBSD kernel x86",
"includePath": [
"${workspaceFolder}/include"
"${workspaceFolder}/include",
"${workspaceFolder}/build/include"
],
"defines": [],
"defines": [
"__KERNEL__",
"_GAY_SOURCE=202109L"
],
"compilerArgs": [
"-target=i686",
"-m32",
"-nodefaultlibs",
"-nostartfiles",
"-ffreestanding",
"-Wall",
"-Wstrict-prototypes",
"-Wredundant-decls",
"-Wnested-externs",
"-Wbad-function-cast",
"-Wshadow",
"-Wsign-compare",
"-Wunreachable-code",
"-Wwrite-strings",
"-Wconversion",
"-Waggregate-return",
"-Winline",
"-Wcast-align"
],
"browse": {
"path": [
"${workspaceFolder}/include",
"${workspaceFolder}/build/include"
],
"limitSymbolsToIncludedHeaders": true
},
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cStandard": "gnu11",
"cppStandard": "c++11",
"intelliSenseMode": "clang-x86",
"configurationProvider": "ms-vscode.cmake-tools"

@ -0,0 +1,13 @@
{
"files.associations": {
"*.s": "gas",
"*.S": "gas",
"*.h": "c",
"*.h.in": "c",
"*.ld.in": "linkerscript"
},
"editor.rulers": [
80,
100
]
}
Loading…
Cancel
Save