News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

The 26 June 2011 build (7257) is out.

Started by killerbot, June 26, 2011, 11:08:36 PM

Previous topic - Next topic

ollydbg

Quote from: Loaden on June 28, 2011, 09:05:42 AM
ollydbg, could you checking you mail?
I have some question need talk to you.
replied, and I think my tiny patch is acceptable. :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Loaden

Quote from: ollydbg on June 28, 2011, 09:15:50 AM
Quote from: Loaden on June 28, 2011, 09:05:42 AM
ollydbg, could you checking you mail?
I have some question need talk to you.
replied, and I think my tiny patch is acceptable. :D
Done.
You can review rev7259 and find what's the changes.

ollydbg

Quote from: Loaden on June 28, 2011, 10:45:55 AM
Done.
You can review rev7259 and find what's the changes.
Good! I personally think the m_AncestorString should be cleared as soon as possible to avoid the recursive infinite loop when calculate class inheritance.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

stahta01

Patch for NON PCH Build.

Tim S.


Index: src/sdk/logmanager.cpp
===================================================================
--- src/sdk/logmanager.cpp (revision 7266)
+++ src/sdk/logmanager.cpp (working copy)
@@ -9,6 +9,10 @@

#include "sdk_precomp.h"

+#ifndef WX_PRECOMP
+#include <wx/bitmap.h>
+#endif
+
#ifndef CB_PRECOMP
#include <wx/log.h>
#endif
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Loaden

Quote from: stahta01 on July 01, 2011, 04:20:00 AM
Patch for NON PCH Build.

Tim S.


Index: src/sdk/logmanager.cpp
===================================================================
--- src/sdk/logmanager.cpp (revision 7266)
+++ src/sdk/logmanager.cpp (working copy)
@@ -9,6 +9,10 @@

#include "sdk_precomp.h"

+#ifndef WX_PRECOMP
+#include <wx/bitmap.h>
+#endif
+
#ifndef CB_PRECOMP
#include <wx/log.h>
#endif

done. :)

Randajad

Console redirect doesn't work in windows 8. Please, fix it. >_<

Ceniza

Quote from: Randajad on July 03, 2011, 10:04:57 AM
Console redirect doesn't work in windows 8. Please, fix it. >_<

Well, it looks like you are the one who got his hand on Windows 8. It should be easier for you then to provide us with a patch :)

MortenMacFly

Quote from: Ceniza on July 03, 2011, 04:03:12 PM
Quote from: Randajad on July 03, 2011, 10:04:57 AM
Console redirect doesn't work in windows 8. Please, fix it. >_<
Well, it looks like you are the one who got his hand on Windows 8. It should be easier for you then to provide us with a patch :)
Harhar... right. According to this:
http://windows8beta.com/2011/06/windows-8-may-rtm-in-april-2012
...we have still plenty of time left. Not to remind you that this might actually be a bug in Windows 8, right?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Ceniza

Quote from: MortenMacFly on July 03, 2011, 04:24:47 PM
Quote from: Ceniza on July 03, 2011, 04:03:12 PM
Quote from: Randajad on July 03, 2011, 10:04:57 AM
Console redirect doesn't work in windows 8. Please, fix it. >_<
Well, it looks like you are the one who got his hand on Windows 8. It should be easier for you then to provide us with a patch :)
Harhar... right. According to this:
http://windows8beta.com/2011/06/windows-8-may-rtm-in-april-2012
...we have still plenty of time left. Not to remind you that this might actually be a bug in Windows 8, right?

A bug? In Windows? I would not be surprised.

Thing is, it could also be a bug in wxWidgets. After all, that is what we use for that kind of stuff, right?

Randajad

#24
This bug exist only in console runner.
Okay, i'm tested this with .bat file:


It works. But when i press F9 in code blocks:



Ideas?

Jenna

What's the content of the "Build log" ?

Randajad

Checking for existence: D:\Project\Rwork\example\example.exe
Executing: "D:\Tools\CodeBlocks/cb_console_runner.exe" "D:\Project\Rwork\example\example.exe"  (in D:\Project\Rwork\example\.)
Process terminated with status 0 (0 minutes, 2 seconds)