Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
0 votes
0 answers
42 views

We keep our library in a git submodule: . └── app ├── submodule_lib │ └── test └── test submodule_lib is a standalone compilation target and has its own tests. The problem arises when I ...
0 votes
1 answer
180 views

I'm using Windows 11, CMake, VSCodium, clangd 21.1.0 and Visual Studio 2022 Community. I can compile my project just fine but I don't know how to get clangd set up and working, I know that it's ...
0 votes
0 answers
57 views

I use the tutorial online to solve this problem. Like this https://youtrack.jetbrains.com/issue/CPP-29091/In-template-call-to-builtin-operator-delete-selects-non-usual-de#focus=Comments-27-6067190.0-. ...
chard zy's user avatar
5 votes
2 answers
385 views

Problem I'm trying to use clangd for LSP in Neovim with CUDA .cu files, but it fails to recognize standard C++ library features on the host side. Even simple host functions using std::format, std::...
2 votes
1 answer
262 views

Recently i've been working on some project with GNU arm compiler for C++ project. I've configured clangd to use this compiler with query-driver as clangd documentation recommends. The problem is ...
aleks's user avatar
  • 107
1 vote
0 answers
63 views

With (old) Eclipse CDT we could define templates under Preferences > C/C++ > Editor > Templates which could be inserted into the code using CTRL + SPACE shortcut. After upgrading to C++20 I ...
Mohith's user avatar
  • 105
0 votes
1 answer
135 views

Clangd LSP in Neovim keeps giving C++ diagnostics for an .h file. How do I force it to give C header diagnostics?
0 votes
0 answers
278 views

I'm using clangd for an embedded systems project in VS Code because it works way better for what I'm trying to do than Microsoft's C/C++ extension for intellisense (and also I had a few cases where my ...
2 votes
0 answers
41 views

I’m working on an embedded project that runs on an Infineon TriCore MCU. The certified TriCore‐GCC and its binary libraries are Windows‐only, but I do most work on Linux. To get quick syntax checks ...
1 vote
1 answer
81 views

I have a setup with a project written in C that is statically linked with a library. The sources of the library are in a different folder somewhere else on the system. I am using emacs and lsp-mode ...
2 votes
1 answer
89 views

I am using Clangd as LSP server. "inlayHint.display": false and "clangd.arguments": ["--function-arg-placeholders=0"]" work to disable the placeholders in functions ...
THE0_C's user avatar
  • 31
0 votes
0 answers
318 views

I am using the Windows 11 operating system. I have both gcc and clang on my computer. My MinGW was downloaded from the winlibs website, but the latest version of MinGW lacks clang, so I downloaded it ...
1 vote
0 answers
122 views

I use the clangd extension in vscode. When I open a usage.c file in git project, it crashes. The log here When I transplant the file to other project, the clangd server crash on the transplanted file ...
0 votes
0 answers
84 views

I'm trying to set up a VS Code Dev Container using clangd to get proper C++ autocompletion and diagnostics for a project that uses the ANTLR4 C++ runtime. I have a working Docker-based development ...
0 votes
2 answers
129 views

What value do i have to use for the file - attribute in a compile_commands.json for clang? Here it says: https://clang.llvm.org/docs/JSONCompilationDatabase.html file: The main translation unit ...
Socialist2's user avatar

15 30 50 per page
1
2 3 4 5
...
18

AltStyle によって変換されたページ (->オリジナル) /