Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
2
Help / Re: Assert: "NULL pParser: IdleCallbackHandler* ClgdCompletion..."
« Last post by nore on Today at 12:53:04 am »
Not that I know of. Perhaps only 1 out of 20 launches result in the assertion error showing up; and they persist even less than that--that being appearing after restarting code::blocks.
3
Help / Re: Assert: "NULL pParser: IdleCallbackHandler* ClgdCompletion..."
« Last post by Pecan on Yesterday at 11:18:57 pm »
Thanks for reporting.

I'll have a look at it.
Any special way to make it to happen?
4
Using Code::Blocks / debugger can't find file.
« Last post by grayarea56 on Yesterday at 08:25:26 pm »
The program runs fine without the debugger.
But when I single step some basic C functions, for instance strcpy, I get this message in the debugger:
Cannot open file: ../sysdeps/x86_64/multiarch/strcpy-avx2.S
Does anyone know what's going on?
Oh, BTW, I'm using WSL Ubuntu under windows 10.
Thanks,
Dan Gray
P.S. here's my test code:

Code
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <math.h>

int main()
{
    printf("Hello world!\n");
    printf("Sqrt2=%f\n",sqrt(2.0));
    double two = 2.001;
    printf("Sqrt2.001=%f\n",sqrt(two));
    char  goodby[100];
    goodby[10] = 0;
    char hello[100];
    strcpy(hello,"hello");
    hello[5] = 0;
    strcpy(goodby, hello);
    printf("goodby=%s",goodby);
    return 0;
}



5
Help / Assert: "NULL pParser: IdleCallbackHandler* ClgdCompletion..."
« Last post by nore on Yesterday at 08:14:56 pm »
Hi there,

I am using code::blocks svn 13344 and have noticed that I occasionally get the following assertion/error upon program launch. Sometimes the error will appear multiple times in a row (with each launch, that is) before launching normally without error. This only occurs perhaps a number of times each week.

NULL pParser: IdleCallbackHandler* ClgdCompletion::GetIdleCallbackHandler(cbProject*)() 662

<press OK>

Fatal assertion error
Assertion failed in IdleCallbackHandler*
ClgdCompletion::GetIdleCallbackhandler(cbProject*) at
C:\Codeblocks\src\plugins\contrib\clangd_client\src\codecompletion\codecompletion.h:665.

pParser && pParser->GetIdleCallbackHandler()

I assume that this is an error regarding the use of the Clangd Client plugin rather than an issue with code::blocks.
The program crashes upon confirmation of the second dialog box regarding the error.
6
Help / AVR Compiler
« Last post by ksoni on Yesterday at 11:37:03 am »
How to set AVR Compiler in CB 20::03 ?
7
Hi guys!

I'm a new plugin-dev.

That would be advisable to have it by few solid resons:

1) std::string_view - for work with cstrings/std::string without (re)allocations


2) __has_include:

Code: cpp
#ifdef __has_include
  #if __has_include(<SomePlugin.h>)
    #include <SomePlugin.h> // we have certain header file
  #endif
#endif


3) Filesystem library


4) std::optional, std::variant, std::any


5) std::integer_sequence - for template programming...


And MAIN reason is: to be closer to users - devs will able to include modern code base in plugins directly into the C::B avoiding external plugin-dev-flow (we know that not all users can build fresh version from SVN, not to mention to find a cool plugin anywhere and compile it for turn it on in the IDE - all that scares away beginners).


The Best regards.
8
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by ollydbg on September 21, 2023, 11:50:28 pm »
I send morten an email, and hopefully he will fix this soon.  :)
9
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by Pecan on September 21, 2023, 06:50:54 pm »
I also cannot compile head.
Code
.objs32_64\sdk\compiler.o:compiler.cpp:(.rdata$_ZTV8Compiler[_ZTV8Compiler]+0x230): undefined reference to `Compiler::CheckForWarningsAndErrors(wxString const&, long&, wxString&)'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 54 second(s))
2 error(s), 17 warning(s) (0 minute(s), 54 second(s))
 

10
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by blauzahn on September 21, 2023, 11:06:13 am »
Quote
is this a showstopper for the CB release this year?

No. It is very likely, that just the modified compiler.cpp was missing in the commit, like Miguel Gimenez already stated.
Pages: [1] 2 3 4 5 6 ... 10