91
General (but related to Code::Blocks) / Re: Welcome Newcomers - PLEASE READ!!!
« Last post by kakas on April 08, 2024, 08:29:18 am »I am new. I am here
The new Release 20.03 is out! You can download binaries for Windows and many major Linux distros here .
The compiler I am using is: https://github.com/tomay3000/mingw-builds-binaries/releases/download/13.2.0-rt_v11-rev1/i686-13.2.0-release-posix-sjlj-ucrt-rt_v11-rev1.7z- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.
What is going wrong ?
OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2
Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?
Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.
@tomay3000
Thanks for providing the source.
Responses from Clangd are dependent on the symbols produced by the compiler being used.
Your project is using what looks like a 32 bit mingw compiler.
Where did you obtain that compiler so I can mirror your environment.
Using my default gcc 64 bit compiler gets a slew of compiler errors which means I won't get the same errors you do.
Also, what declaration are you trying to display so I can attempt to mimic the error.
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.
What is going wrong ?
OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2
Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?
Here is my C::B project
Note that if I revert to using Code Completion back, then "Find declaration of: ..." starts working as expected.
- "Find declaration of: ..." does not work for me.
- "Reparse this project" has become a must so that the menu entry "Find declaration of: ..." appears.
What is going wrong ?
OS : Windows 7 with SP1 x64
C::B : Nightly build 13496
clangd : 18.1.2
Not enough info.
Can you give us a simple example (code) to recreate the problem?
What steps can we perform to recreate the problem?
It is much helpful to show diagnostic message when clicking on error/warning marker instead of scrolling through the LSP messages tab. Attaching patch for that, it shows the message in a message box.