Author Topic: The 21 September 2008 build (5208) is out.  (Read 58076 times)

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: The 21 September 2008 build (5208) is out.
« Reply #30 on: October 06, 2008, 07:57:15 am »
CB is a great work ,it is my first choice.but I face some problems ,when I compile a project,CB ofen crashed!sadly I have to say it crashed too may times ,I did not do special work ,just modified code and recompiled ,sometimes it crased, sometimes not ,maybe 20~30% .

I am using nightly build 5208,winxp sp2 mingw Gcc 4.2.3

crash information is attached!


Do you know if the crash happens, if the code is error-free, or only while parsing output from compiler including error-messages ?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 21 September 2008 build (5208) is out.
« Reply #31 on: October 06, 2008, 10:17:35 am »
I can confirm this, and Morton also suffers from this. It seems to happen when there are errors during the compilation step.

Offline jfouche

  • Multiple posting newcomer
  • *
  • Posts: 28
Re: The 21 September 2008 build (5208) is out.
« Reply #32 on: October 06, 2008, 12:36:56 pm »
Hi

You can do like me : don't make error while you 're coding  :P
--
Jérémie

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: The 21 September 2008 build (5208) is out.
« Reply #33 on: October 08, 2008, 02:09:56 am »
Patch needed to build current SVN under Windows when not using PCH.

The unpatched code built OK with PCH using MinGW GCC 3.4.5, 4.2.4, and 4.3.2 (Last two where TDM Builds)

Tim S

Code
Index: src/plugins/contrib/wxSmith/wxsresourcetree.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxsresourcetree.cpp (revision 5245)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.cpp (working copy)
@@ -30,6 +30,11 @@
 #include "configmanager.h"
 #include "globals.h"
 
+#if defined(__WXMSW__) && defined(LoadImage)
+    // Fix Windows winuser.h Header define of LoadImage.
+    #undef LoadImage
+#endif
+
 namespace
 {
     class wxsResourceTreeProjectData: public wxsResourceTreeItemData
« Last Edit: October 08, 2008, 06:25:06 am by stahta01 »
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 killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 21 September 2008 build (5208) is out.
« Reply #34 on: October 08, 2008, 07:46:23 am »
Patch needed to build current SVN under Windows when not using PCH.

The unpatched code built OK with PCH using MinGW GCC 3.4.5, 4.2.4, and 4.3.2 (Last two where TDM Builds)

Tim S

Code
Index: src/plugins/contrib/wxSmith/wxsresourcetree.cpp
===================================================================
--- src/plugins/contrib/wxSmith/wxsresourcetree.cpp (revision 5245)
+++ src/plugins/contrib/wxSmith/wxsresourcetree.cpp (working copy)
@@ -30,6 +30,11 @@
 #include "configmanager.h"
 #include "globals.h"
 
+#if defined(__WXMSW__) && defined(LoadImage)
+    // Fix Windows winuser.h Header define of LoadImage.
+    #undef LoadImage
+#endif
+
 namespace
 {
     class wxsResourceTreeProjectData: public wxsResourceTreeItemData

I should have listened to you, I was adding these from your patch in berlios 1 by 1 till it compiled, but that was on a system using pch. Will do it today.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 21 September 2008 build (5208) is out.
« Reply #35 on: October 08, 2008, 01:28:58 pm »
done

Offline Grom

  • Almost regular
  • **
  • Posts: 206
Re: The 21 September 2008 build (5208) is out.
« Reply #36 on: October 10, 2008, 09:52:03 pm »
What about the neew nightly build? Do you have any plans to update the wxSmith
gcc+winXP+suse.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 21 September 2008 build (5208) is out.
« Reply #37 on: October 10, 2008, 11:51:20 pm »
new nightly later this weekend

Offline gd_on

  • Lives here!
  • ****
  • Posts: 796
Re: The 21 September 2008 build (5208) is out.
« Reply #38 on: October 11, 2008, 09:38:42 am »
For a (the ?) next nightly, I have found a few strings that cause problems when you want to localize C::B (in french in may case). I wrote an "how to" in the forum Help Wanted/Codeblocks Translation...

Problems on some portions of codes, using _T and not _ to enter strings that normally should be translated in localized versions of C::B :

within src/plugins/projectsimporter/projectsimporter.cpp
line 103 should be :
        fileMenu->Insert(++id, wxNewId(), _("&Import project"), m_Menu);

within sdk/pluginsconfigurationdlg.cpp
line 99 should be :
    initialInfo << _("when performing any operation on it...");
line 107 should be :
      initialInfo << _("problematic plugins. Enable plugins at will now...");


within envvars_cfgdlg.h
line 31 is
   return _T("Environment variables");
but if is
   return _("Environment variables");
translation is not done anyway apparently ! May be the problem is not here ! :(

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5490
Re: The 21 September 2008 build (5208) is out.
« Reply #39 on: October 11, 2008, 11:22:09 am »
For a (the ?) next nightly, I have found a few strings that cause problems when you want to localize C::B (in french in may case). I wrote an "how to" in the forum Help Wanted/Codeblocks Translation...

Problems on some portions of codes, using _T and not _ to enter strings that normally should be translated in localized versions of C::B :

within src/plugins/projectsimporter/projectsimporter.cpp
line 103 should be :
        fileMenu->Insert(++id, wxNewId(), _("&Import project"), m_Menu);

within sdk/pluginsconfigurationdlg.cpp
line 99 should be :
    initialInfo << _("when performing any operation on it...");
line 107 should be :
      initialInfo << _("problematic plugins. Enable plugins at will now...");


within envvars_cfgdlg.h
line 31 is
   return _T("Environment variables");
but if is
   return _("Environment variables");
translation is not done anyway apparently ! May be the problem is not here ! :(

gd_on

DONE.