Author Topic: The 26 June 2011 build (7257) is out.  (Read 39668 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 June 2011 build (7257) is out.
« Reply #15 on: June 28, 2011, 09:15:50 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.

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 June 2011 build (7257) is out.
« Reply #16 on: June 28, 2011, 10:45:55 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.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: The 26 June 2011 build (7257) is out.
« Reply #17 on: June 28, 2011, 11:05:02 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 26 June 2011 build (7257) is out.
« Reply #18 on: July 01, 2011, 04:20:00 am »
Patch for NON PCH Build.

Tim S.

Code
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++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Re: The 26 June 2011 build (7257) is out.
« Reply #19 on: July 01, 2011, 04:58:01 am »
Patch for NON PCH Build.

Tim S.

Code
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. :)

Offline Randajad

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 26 June 2011 build (7257) is out.
« Reply #20 on: July 03, 2011, 10:04:57 am »
Console redirect doesn't work in windows 8. Please, fix it. >_<

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: The 26 June 2011 build (7257) is out.
« Reply #21 on: July 03, 2011, 04:03:12 pm »
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 :)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: The 26 June 2011 build (7257) is out.
« Reply #22 on: July 03, 2011, 04:24:47 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: The 26 June 2011 build (7257) is out.
« Reply #23 on: July 03, 2011, 05:48:04 pm »
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?

Offline Randajad

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 26 June 2011 build (7257) is out.
« Reply #24 on: July 03, 2011, 07:45:38 pm »
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?
« Last Edit: July 03, 2011, 07:50:35 pm by Randajad »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 26 June 2011 build (7257) is out.
« Reply #25 on: July 03, 2011, 08:08:54 pm »
What's the content of the "Build log" ?

Offline Randajad

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: The 26 June 2011 build (7257) is out.
« Reply #26 on: July 03, 2011, 08:16:37 pm »
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)