Welcome to the Haiku shell.
/boot/system/apps> /boot/system/data/deskbar/menu/Applications/Genio
BMessage('NTCH') {
key = string("color", 6 bytes)
value = rgb_color(56, 56, 56, 255)
be:observe_orig_what = int32(0x50524a53 or 1347570259)
be:observe_change_what = int32(0x50524a53 or 1347570259)
}
BMessage('NTCH') {
key = string("color", 6 bytes)
value = rgb_color(56, 56, 56, 255)
be:observe_orig_what = int32(0x50524a53 or 1347570259)
be:observe_change_what = int32(0x50524a53 or 1347570259)
}
I[16:09:54.778] clangd version 17.0.6
I[16:09:54.789] Features: unix
I[16:09:54.789] PID: 29823
I[16:09:54.789] Working directory: /boot/home/Workspace/Test1
I[16:09:54.789] argv[0]: /boot/system/bin/clangd
I[16:09:54.789] argv[1]: --log=verbose
I[16:09:54.790] argv[2]: --offset-encoding=utf-8
I[16:09:54.790] argv[3]: --pretty
I[16:09:54.790] argv[4]: --header-insertion-decorators=false
I[16:09:54.790] argv[5]: --pch-storage=memory
V[16:09:54.790] User config file is /boot/home/config/settings/clangd/config.yaml
I[16:09:54.790] Starting LSP over stdin/stdout
V[16:09:54.790] <<< {
"id": "client_initialize",
"jsonrpc": "2.0",
"method": "initialize",
"params": {
"capabilities": {
"general": {
"positionEncodings": [
"utf-8"
]
},
"textDocument": {
"codeAction": {
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"quickfix"
]
}
},
"resolveSupport": {
"properties": [
"edit"
]
}
},
"completion": {
"completionItem": {
"deprecatedSupport": true,
"snippetSupport": true
},
"completionItemKind": {
"valueSet": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25
]
},
"editsNearCursor": true
},
"documentSymbol": {
"hierarchicalDocumentSymbolSupport": true
},
"hover": {
"contentFormat": [
"plaintext"
]
},
"publishDiagnostics": {
"categorySupport": true,
"codeActionsInline": true,
"relatedInformation": true
},
"signatureHelp": {
"signatureInformation": {
"parameterInformation": {
"labelOffsetSupport": true
}
}
}
},
"window": {
"implicitWorkDoneProgressCreate": true,
"workDoneProgress": true
},
"workspace": {
"applyEdit": false,
"symbol": {
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"workspaceEdit": {
"documentChanges": false
}
}
},
"initializationOptions": {
"clangdFileStatus": true,
"compilationDatabasePath": null,
"configSettings": {
"compilationDatabaseChanges": {}
},
"fallbackFlags": []
},
"processId": 29823,
"rootPath": null,
"rootUri": "file:///boot/home/Workspace/Test1"
}
}
I[16:09:54.795] <-- initialize("client_initialize")
I[16:09:54.796] --> reply:initialize("client_initialize") 1 ms
V[16:09:54.796] >>> {
"id": "client_initialize",
"jsonrpc": "2.0",
"result": {
"capabilities": {
"astProvider": true,
"callHierarchyProvider": true,
"clangdInlayHintsProvider": true,
"codeActionProvider": {
"codeActionKinds": [
"quickfix",
"refactor",
"info"
]
},
"compilationDatabase": {
"automaticReload": true
},
"completionProvider": {
"resolveProvider": false,
"triggerCharacters": [
".",
"<",
">",
":",
"\"",
"/",
"*"
]
},
"declarationProvider": true,
"definitionProvider": true,
"documentFormattingProvider": true,
"documentHighlightProvider": true,
"documentLinkProvider": {
"resolveProvider": false
},
"documentOnTypeFormattingProvider": {
"firstTriggerCharacter": "\n",
"moreTriggerCharacter": []
},
"documentRangeFormattingProvider": true,
"documentSymbolProvider": true,
"executeCommandProvider": {
"commands": [
"clangd.applyFix",
"clangd.applyTweak"
]
},
"foldingRangeProvider": true,
"hoverProvider": true,
"implementationProvider": true,
"inactiveRegionsProvider": true,
"inlayHintProvider": true,
"memoryUsageProvider": true,
"referencesProvider": true,
"renameProvider": true,
"selectionRangeProvider": true,
"semanticTokensProvider": {
"full": {
"delta": true
},
"legend": {
"tokenModifiers": [
"declaration",
"definition",
"deprecated",
"deduced",
"readonly",
"static",
"abstract",
"virtual",
"dependentName",
"defaultLibrary",
"usedAsMutableReference",
"usedAsMutablePointer",
"constructorOrDestructor",
"userDefined",
"functionScope",
"classScope",
"fileScope",
"globalScope"
],
"tokenTypes": [
"variable",
"variable",
"parameter",
"function",
"method",
"function",
"property",
"variable",
"class",
"interface",
"enum",
"enumMember",
"type",
"type",
"unknown",
"namespace",
"typeParameter",
"concept",
"type",
"macro",
"modifier",
"operator",
"bracket",
"label",
"comment"
]
},
"range": false
},
"signatureHelpProvider": {
"triggerCharacters": [
"(",
")",
"{",
"}",
"<",
">",
","
]
},
"standardTypeHierarchyProvider": true,
"textDocumentSync": {
"change": 2,
"openClose": true,
"save": true
},
"typeDefinitionProvider": true,
"typeHierarchyProvider": true,
"workspaceSymbolProvider": true
},
"offsetEncoding": "utf-8",
"serverInfo": {
"name": "clangd",
"version": "clangd version 17.0.6 unix x86_64-unknown-haiku"
}
}
}
V[16:09:54.812] <<< {
"jsonrpc": "2.0",
"method": "initialized",
"params": null
}
I[16:09:54.812] <-- initialized
V[16:09:54.812] <<< {
"jsonrpc": "2.0",
"method": "textDocument/didOpen",
"params": {
"textDocument": {
"languageId": "cpp",
"text": "/*\n * Copyright 2024, My Name \n * All rights reserved. Distributed under the terms of the MIT license.\n */\n\n\n#include \"App.h\"\n#include \"MainWindow.h\"\n\n\nconst char* kApplicationSignature = \"application/x-vnd.MyName-MyApp\";\n\n\nApp::App()\n\t:\n\tBApplication(kApplicationSignature)\n{\n\tMainWindow* mainwin = new MainWindow();\n\tmainwin->Show();\n}\n\n\nApp::~App()\n{\n}\n\n\nint\nmain()\n{\n\tApp* app = new App();\n\tapp->Run();\n\tdelete app;\n\treturn 0;\n}\n",
"uri": "file:///boot/home/Workspace/Test1/App.cpp",
"version": 0
}
}
}
I[16:09:54.813] <-- textDocument/didOpen
I[16:09:54.814] Failed to find compilation database for /boot/home/Workspace/Test1/App.cpp
I[16:09:54.814] ASTWorker building file /boot/home/Workspace/Test1/App.cpp version 0 with command clangd fallback
[/boot/home/Workspace/Test1]
/boot/system/bin/clang -resource-dir=/boot/system/lib/clang/17 -- /boot/home/Workspace/Test1/App.cpp
V[16:09:54.817] Driver produced command: cc1 -cc1 -triple x86_64-unknown-haiku -fsyntax-only -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name App.cpp -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/boot/home/Workspace/Test1 -resource-dir /boot/system/lib/clang/17 -internal-isystem /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/ -internal-isystem /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++//x86_64-unknown-haiku -internal-isystem /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++//backward -fdeprecated-macro -fdebug-compilation-dir=/boot/home/Workspace/Test1 -ferror-limit 19 -fgnuc-version=4.2.1 -fcxx-exceptions -fexceptions -no-round-trip-args -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -x c++ /boot/home/Workspace/Test1/App.cpp
I[16:09:54.818] --> textDocument/clangd.fileStatus
V[16:09:54.818] >>> {
"jsonrpc": "2.0",
"method": "textDocument/clangd.fileStatus",
"params": {
"state": "parsing includes, running Update",
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
V[16:09:54.818] Building first preamble for /boot/home/Workspace/Test1/App.cpp version 0
I[16:09:55.101] Built preamble of size 2521496 for file /boot/home/Workspace/Test1/App.cpp version 0 in 0.28 seconds
I[16:09:55.102] --> textDocument/clangd.fileStatus
V[16:09:55.102] >>> {
"jsonrpc": "2.0",
"method": "textDocument/clangd.fileStatus",
"params": {
"state": "parsing includes, running Build AST",
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
I[16:09:55.102] --> textDocument/clangd.fileStatus
V[16:09:55.102] >>> {
"jsonrpc": "2.0",
"method": "textDocument/clangd.fileStatus",
"params": {
"state": "parsing includes, parsing main file",
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
I[16:09:55.102] Indexing c++17 standard library in the context of /boot/home/Workspace/Test1/App.cpp
V[16:09:55.116] indexed file AST for /boot/home/Workspace/Test1/App.cpp version 0:
symbol slab: 4 symbols, 5144 bytes
ref slab: 11 symbols, 19 refs, 4608 bytes
relations slab: 1 relations, 41 bytes
V[16:09:55.117] Build dynamic index for main-file symbols with estimated memory usage of 16408 bytes
I[16:09:55.117] --> textDocument/publishDiagnostics
V[16:09:55.117] >>> {
"jsonrpc": "2.0",
"method": "textDocument/publishDiagnostics",
"params": {
"diagnostics": [],
"uri": "file:///boot/home/Workspace/Test1/App.cpp",
"version": 0
}
}
I[16:09:55.117] --> textDocument/clangd.fileStatus
V[16:09:55.117] >>> {
"jsonrpc": "2.0",
"method": "textDocument/clangd.fileStatus",
"params": {
"state": "idle",
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
V[16:09:55.117] <<< {
"id": "584489865600_textDocument/documentSymbol",
"jsonrpc": "2.0",
"method": "textDocument/documentSymbol",
"params": {
"textDocument": {
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
}
I[16:09:55.118] <-- textDocument/documentSymbol("584489865600_textDocument/documentSymbol")
V[16:09:55.118] ASTWorker running DocumentSymbols on version 0 of /boot/home/Workspace/Test1/App.cpp
I[16:09:55.119] --> reply:textDocument/documentSymbol("584489865600_textDocument/documentSymbol") 0 ms
V[16:09:55.119] >>> {
"id": "584489865600_textDocument/documentSymbol",
"jsonrpc": "2.0",
"result": [
{
"detail": "const char *",
"kind": 13,
"name": "kApplicationSignature",
"range": {
"end": {
"character": 68,
"line": 10
},
"start": {
"character": 0,
"line": 10
}
},
"selectionRange": {
"end": {
"character": 33,
"line": 10
},
"start": {
"character": 12,
"line": 10
}
}
},
{
"detail": "()",
"kind": 9,
"name": "App::App",
"range": {
"end": {
"character": 1,
"line": 19
},
"start": {
"character": 0,
"line": 13
}
},
"selectionRange": {
"end": {
"character": 8,
"line": 13
},
"start": {
"character": 5,
"line": 13
}
}
},
{
"kind": 9,
"name": "App::~App",
"range": {
"end": {
"character": 1,
"line": 24
},
"start": {
"character": 0,
"line": 22
}
},
"selectionRange": {
"end": {
"character": 6,
"line": 22
},
"start": {
"character": 5,
"line": 22
}
}
},
{
"detail": "int ()",
"kind": 12,
"name": "main",
"range": {
"end": {
"character": 1,
"line": 34
},
"start": {
"character": 0,
"line": 27
}
},
"selectionRange": {
"end": {
"character": 4,
"line": 28
},
"start": {
"character": 0,
"line": 28
}
}
}
]
}
I[16:09:55.119] --> textDocument/clangd.fileStatus
V[16:09:55.119] >>> {
"jsonrpc": "2.0",
"method": "textDocument/clangd.fileStatus",
"params": {
"state": "idle",
"uri": "file:///boot/home/Workspace/Test1/App.cpp"
}
}
V[16:09:55.270] indexed preamble AST for /boot/home/Workspace/Test1/App.cpp version 0:
symbol slab: 7925 symbols, 2059904 bytes
ref slab: 0 symbols, 0 refs, 128 bytes
relations slab: 218 relations, 4376 bytes
V[16:09:55.371] Build dynamic index for header symbols with estimated memory usage of 4608572 bytes
V[16:09:56.763] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:102:49:too many arguments provided to function-like macro invocation
V[16:09:56.763] Ignored diagnostic. /boot/system/lib/clang/17/include/stdatomic.h:89:9:macro 'atomic_is_lock_free' defined here
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:102:5:redefinition of 'atomic_is_lock_free' as different kind of symbol
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/atomic:1294:5:previous definition is here
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:105:7:expected expression
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:109:6:expected ';' at end of declaration
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:113:48:expected ')'
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:113:5:to match this '('
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:113:5:expected expression
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:113:52:expected ';' at end of declaration
V[16:09:56.764] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:114:5:expected unqualified-id
V[16:09:56.765] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:137:5:expected parameter declarator
V[16:09:56.765] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:137:5:expected ')'
V[16:09:56.765] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:137:5:to match this '('
V[16:09:56.765] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:150:41:too many arguments provided to function-like macro invocation
V[16:09:56.765] Ignored diagnostic. /boot/system/lib/clang/17/include/stdatomic.h:140:9:macro 'atomic_load' defined here
V[16:09:56.765] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:150:5:redefinition of 'atomic_load' as different kind of symbol
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/atomic:1397:5:previous definition is here
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:151:7:expected expression
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:151:69:expected ';' at end of declaration
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:174:5:expected parameter declarator
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:174:5:expected ')'
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:174:5:to match this '('
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:189:47:too many arguments provided to function-like macro invocation
V[16:09:56.766] Ignored diagnostic. /boot/system/lib/clang/17/include/stdatomic.h:137:9:macro 'atomic_store' defined here
V[16:09:56.766] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:189:5:variable has incomplete type 'void'
V[16:09:56.778] Ignored diagnostic. /boot/system/develop/tools/lib/gcc/x86_64-unknown-haiku/13.3.0/../../../gcc/x86_64-unknown-haiku/13.3.0/include/c++/bits/shared_ptr_atomic.h:190:34:use of undeclared identifier '__p'
V[16:09:56.778] Ignored diagnostic. too many errors emitted, stopping now
I[16:09:57.438] Indexed c++17 standard library (incomplete due to errors): 12425 symbols, 502 filtered
V[16:09:57.563] Build dynamic index for header symbols with estimated memory usage of 8516060 bytes