You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of single quotes in linking_to_flags() does not work with clangd's compilation database on Windows, as single quotes are not correctly parsed on whatever Windows shell clangd uses to parse the command args. You can see this referenced in an related problem on the clangd repo, see this issue: clangd/clangd#1094. The single quotes are only used for the LinkingTo flags, and I noticed that the symbols that were successfully being imported corresponded to those headers in double quotes.
The use of single quotes in
linking_to_flags()
does not work with clangd's compilation database on Windows, as single quotes are not correctly parsed on whatever Windows shell clangd uses to parse the command args. You can see this referenced in an related problem on the clangd repo, see this issue: clangd/clangd#1094. The single quotes are only used for the LinkingTo flags, and I noticed that the symbols that were successfully being imported corresponded to those headers in double quotes.This function is the issue:
To fix this, I simply replaced this line:
with an escaped quote:
Which I have confirmed fixed the issue for my packages on Windows.
The text was updated successfully, but these errors were encountered: