Recent Posts

Pages: 1 2 [3] 4 5 6 7 8 ... 10
21
Nightly builds / Re: The 24 September 2023 build (13360) is out.
« Last post by eckard_klotz on September 26, 2023, 09:17:25 am »
Hello Developers.

The issue reported at: https://forums.codeblocks.org/index.php/topic,25516.msg173783.html#msg173783 is still present.
  • For me this is a blocking point to change to a newer nightly.
    • My own compiler-configuration comes not into use.
    • But it will be overwritten with invalid content.
If it is really a problem with the "compiler auto detection" how can this feature be deactivated until you find the time to fix it?

Best regards,
                    Eckard Klotz.
22
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on September 26, 2023, 07:03:26 am »
@ ollydbg

For me, platwx.cpp liine 2582 is blank.
Head rev 13361

Can you make the problem occur with the -g version of clangd_client.dll ?
It would show us exactly what's happening, even with your modified code.
23
Using Code::Blocks / compiler args and flags
« Last post by maxcy on September 26, 2023, 03:39:26 am »
 :)  I have a C++ compiler xref project that I got to compile. It uses a filename arg and also needs to use the -x xref flag compiler option. The filename program argument is easy. The compiler flags settings doesn't show any -x options. Maybe going into "other compiler options" and adding -x will do?  From what I know the -x option generates xref info from the compiler as it compiles the source  code. How do I access the xref data that is generated by the compiler with the -x flag set?
maxcy/wt1v
24
Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 26, 2023, 02:43:37 am »
Well, another question is:

In the suggestion list, does it need an icon for each item?

Here is the screen shot of mine, it looks like I just only have texts in the suggestion list after I press the "dot", see image shot below:

This looks like the .zip resources are missing. The images are in the .zip file. I just don't use them.
We've been using clangd_client for a year or more without icons.
I'd rather not use them if we don't have to.

The assert says that it occured at platwx.cpp 2582. There's no code there.
You might consider rebuilding CodeBlocks and contribs again.

I use C::B for development day by day for many years.  :)

If we have iron shown, I think we can distinguish between member variables and member functions.

About the line 2582 issue, let me rebuild the whole C::B again.



EDIT:

I may have some local patch here for Windows font related issue.

Code
void ListBoxImpl::Append(const wxString& text, int type) {
    long count  = GETLB(wid)->GetItemCount();
    long itemID  = GETLB(wid)->InsertItem(count, wxEmptyString);
    long idx = -1;
    GETLB(wid)->SetItem(itemID, 1, text);
    maxStrWidth = wxMax(maxStrWidth, text.length());
    if (type != -1) {
        wxCHECK_RET(imgTypeMap, wxT("Unexpected NULL imgTypeMap"));
        idx = imgTypeMap->Item(type);
    }
    GETLB(wid)->SetItemImage(itemID, idx, idx);
}

I see the line 2582 is the line above, the line begins with "wxCHECK_RET".
25
Plugins development / Re: Code completion using LSP and clangd
« Last post by ollydbg on September 26, 2023, 02:41:12 am »
I see an alert when I enabled the Clangd_client, and when I hit the dot after I type an object name.
Could you copy the Clangd_client from devel32_64 to output32_64 and see if you get the crash again.
This will give us a line number.
The .RPT is useless without a line number.
OK, I will do that. Thanks.

Quote
Also, can you give an example code so I can reproduce the error.
I can't reproduce it yet.

I will try to minimize the project, my project is huge. Currently I can't reproduce this bug easily.  :(
26
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on September 25, 2023, 09:54:59 pm »
Well, another question is:

In the suggestion list, does it need an icon for each item?

Here is the screen shot of mine, it looks like I just only have texts in the suggestion list after I press the "dot", see image shot below:

This looks like the .zip resources are missing. The images are in the .zip file. I just don't use them.
We've been using clangd_client for a year or more without icons.
I'd rather not use them if we don't have to.

The assert says that it occured at platwx.cpp 2582. There's no code there.
You might consider rebuilding CodeBlocks and contribs again.
 
27
Plugins development / Re: Code completion using LSP and clangd
« Last post by Pecan on September 25, 2023, 08:11:47 pm »
I see an alert when I enabled the Clangd_client, and when I hit the dot after I type an object name.
Could you copy the Clangd_client from devel32_64 to output32_64 and see if you get the crash again.
This will give us a line number.
The .RPT is useless without a line number.

Also, can you give an example code so I can reproduce the error.
I can't reproduce it yet.

28
Using Code::Blocks / Re: Changing Class Variable Get-function Capitalization
« Last post by Commaster on September 25, 2023, 04:58:48 pm »
Just as an example, one well-known project written in C++ uses ProperCase...
29
Using Code::Blocks / Re: Changing Class Variable Get-function Capitalization
« Last post by sodev on September 25, 2023, 03:37:55 pm »
Looks like you have never written a wxWidgets application... or used the C++ standard library.
30
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by gd_on on September 25, 2023, 11:49:43 am »
It's OK now. Many thanks.
Pages: 1 2 [3] 4 5 6 7 8 ... 10