Softmotions / acdb

Clang's C/C++ compile_commands.json generator for Arduino projects
Other
6 stars 0 forks source link

stdlib.h (and probably other libraries) do not get linked #2

Open Shoxx98 opened 6 months ago

Shoxx98 commented 6 months ago

Steps to reproduce: install arduino:sam core using arduino-cli acdb --fqbn=arduino:sam:arduino_due_x in project repo touch main.cpp in neovim using an lspconfig setup with clangd:

include

try to goto_definition

also in arduino.h with that fqbn:

Shoxx98 commented 6 months ago

I did some digging and this is rather related to the arduino-cli project. https://github.com/arduino/arduino-cli/issues/1286