Skip to content
Discussion options

You must be logged in to vote

The .ccls is probably wrong. I made a minimal test to test out ccls:

# .ccls
gcc

(and a simple main.c)
in my test it works like expected. I'll try to figure out what's wrong with the autogenerated .ccls.

also got my other Project working:

gcc # clang would probably work too

#%c -std=gnu11 -fno-fat-lto-objects -mmcu=atmega644a -Os -Wall -ffunction-sections -fdata-sections
%c -std=gnu11 # the above was the Problem: this flag is the only one that didn't screw up the lsp

#%cpp -Wno-error=narrowing -fno-exceptions -fno-threadsafe-statics -fpermissive -std=gnu++11 -mmcu=atmega644a -Os -Wall -ffunction-sections -fdata-sections -flto

-I/home/abra/Projects/embed/st500/include
-I/home/abra/Proj…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@AbrA-K
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by AbrA-K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #10069 on March 31, 2024 14:25.