Recent Posts

Pages: [1] 2 3 4 5 6 ... 10
1
Using Code::Blocks / Re: How to get the C generated code ?
« Last post by R1S8K on Today at 12:38:57 pm »
Sorry I forgot to mention that I use Windows 10.

Quote
The easiest way is to do a build of the file, copy the command, modify it and run it in terminal.

Can this  be done in Windows ?
2
Using Code::Blocks / Re: How to get the C generated code ?
« Last post by oBFusCATed on Today at 12:31:43 pm »
We don't have anything integrated for the task.
The easiest way is to do a build of the file, copy the command, modify it and run it in terminal.
If you do this often you can set up a tool for it.

Here are some hints about the flags needed: https://stackoverflow.com/questions/2224334/gcc-dump-preprocessor-defines
3
Using Code::Blocks / How to get the C generated code ?
« Last post by R1S8K on Today at 12:25:32 pm »
Hi,

I'm using macros and having problem knowing how the code works. So one told me to use a flag that output the expanded generated code.

But I don't know how to use it in codeblocks.
4
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by oBFusCATed on Today at 11:37:31 am »
I got first RPT (see attachment) on close C::B after usage with new project.
Steps to reproduce?
Does it happen every time?
Does it happen with older night builds?
5
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by Miguel Gimenez on Today at 10:03:38 am »
The bug is here  :P

Code
DestoryWindows()
6
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by ollydbg on Today at 08:58:19 am »
I got first RPT (see attachment) on close C::B after usage with new project.

It looks like the crash is from the debugger plugin, see:

Code
00000000709B93BD 0000000002E7B320 0000000000000000 000000000022E750  codeblocks.dll!DebuggerManager::DestoryWindows
00000000709B7325 0000000002E7B320 0000000005AED920 000000000022E7B0  codeblocks.dll!DebuggerManager::UnregisterDebugger
0000000070964028 0000000005AED920 0000000070D1A501 000000000022E830  codeblocks.dll!cbDebuggerPlugin::OnRelease
0000000070963B2B 0000000005AED920 0000000005AED901 00000000057F7D30  codeblocks.dll!cbPlugin::Release
7
Nightly builds / Re: The 11 May 2021 build (12446) is out.
« Last post by nenin on Today at 08:29:52 am »
I got first RPT (see attachment) on close C::B after usage with new project.
8
When something does not work in CB the first thing I try is doing a full rebuild.

This sometimes fixes problem like yours if the problem is not caused by conflicting or multiple mingw GCC installed.

There is a 4 step I left out that if your problem had not been fixed; and that is to delete all the mingw GCC installations except for the one you are trying to use.

Tim S.
9
thanx. after rebuild all start works,
Code
-------------- Clean: Debug in word_out (compiler: GNU GCC Compiler)---------------

Cleaned "word_out - Debug"

-------------- Build: Debug in word_out (compiler: GNU GCC Compiler)---------------

g++.exe -Wall -fexceptions -g  -c D:\codeblks-wrkspce\word_out\main.cpp -o obj\Debug\main.o
g++.exe  -o bin\Debug\word_out.exe obj\Debug\main.o   
D:\codeblks-wrkspce\word_out\main.cpp: In function 'int main()':
D:\codeblks-wrkspce\word_out\main.cpp:59:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long long unsigned int'} [-Wsign-compare]
     for(int i=0;i<query.size();i++)
                 ~^~~~~~~~~~~~~
Output file is bin\Debug\word_out.exe with size 113.90 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 1 warning(s) (0 minute(s), 1 second(s))
 
i guess that the solution was by your direction to remove the path to mingw from environment variables. this is only change in my system i made. thanx so much, i had trying to start debugging more than one weeks! and now it has stepped by the lines and  in watches variables are changed!
10
Please post a new "Build Log" After you rebuild the program!

Edit: Add link https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Tim S.

Edit: Add command to rebuild.

Build -> Rebuild
Pages: [1] 2 3 4 5 6 ... 10