Recent Posts

Pages: 1 [2] 3 4 5 6 7 ... 10
11
Development / Could the C::B team change from c++11 to c++17 for compile the C::B?
« Last post by dmxvlx on September 22, 2023, 06:19:29 am »
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.
12
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.  :)
13
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))
 

14
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.
15
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by Wkerry on September 21, 2023, 11:01:24 am »
is this a showstopper for the CB release this year?
16
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by blauzahn on September 21, 2023, 07:21:19 am »
I have the same problem on Linux x86_64.
17
Help / Re: Unable to debug C program "No executable specified, use `target exec'."
« Last post by Gomez22 on September 20, 2023, 09:02:21 am »
I am new to C and Code::Blocks. I am able to run this Hello World program, but i am unable to use a debugger on it. When I set a break point and try to debug the program, I get the below error message.


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

int main()
{
    printf("Break Here!\n"); //Break point on this line
    printf("Hello world!\n");
    return 0;
}

Code
Starting debugger: C:\Users\Curtis\mingw64\bin\gdb.exe -nx -fullname -quiet  -args "Q:/Learn-C/1 - Hello World/Hello World/bin/Debug/Hello World.exe"
done
Setting breakpoints
Debugger name and version: GNU gdb (GDB) 11.2
Starting the debuggee failed: No executable specified, use `target exec'

What should I do to get the debugger to work?

Check the debugger's executable path. Go to the "Settings" menu, select "Debugger", and then "GDB/CDB debugger". Ensure that the path to the gdb.exe file is correctly specified. In your case, it should be set to "C:\Users\Curtis\mingw64\bin\gdb.exe".
18
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by Miguel Gimenez on September 19, 2023, 07:33:23 pm »
@MortenMacFly, can you take a look?. Thank you.
19
Help / Re: set the proportion to 0 will cause codeblocks crash
« Last post by Miguel Gimenez on September 19, 2023, 06:54:40 pm »
Created ticket 1415.
20
Development / Re: Error when compiling C::B svn 13356 with msys2/gcc
« Last post by Miguel Gimenez on September 18, 2023, 05:17:22 pm »
Looks like the modified compiler.cpp with the new overload for CheckForWarningsAndErrors() was not commited.
Pages: 1 [2] 3 4 5 6 7 ... 10