Author Topic: The 27-31 October 2007 build will NOT be out.  (Read 51790 times)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: The 27-31 October 2007 build will NOT be out.
« Reply #30 on: October 29, 2007, 10:16:08 am »
Can you please move that script to a location where it does not break the build?

I am checking out trunk/src rather than trunk because I am not interested in 200 MB of additional junk (web pages, art assets, documentation) that I will never use during development and which slows down every update and commit.

I think one should be able to assume that trunk/src is self-contained and does not require anything outside.

EDIT: I see Martin already asked for that too, didn't see, sorry.
« Last Edit: October 29, 2007, 10:18:17 am by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #31 on: October 29, 2007, 10:22:49 am »
ok, will move it into src

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #32 on: October 29, 2007, 10:54:06 am »
for some reason, CBgames don't compile on my machine with MINGW.3.4.5

It fails because when it includes tinyxml.h, that one can find tinystr.h

On my MinGW 4.2.1 it does build.

Why is this so inconsistent, have done a rebuild all. Or are those pch's biting me again ??

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9488
Re: The 27-31 October 2007 build will NOT be out.
« Reply #33 on: October 29, 2007, 11:04:10 am »
Why is this so inconsistent, have done a rebuild all. Or are those pch's biting me again ??
Nope - there were simply some missing includes in the project files. I'll update the project files for Windows accordingly (had the same issue).
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9488
Re: The 27-31 October 2007 build will NOT be out.
« Reply #34 on: October 29, 2007, 11:11:05 am »
for some reason, CBgames don't compile on my machine with MINGW.3.4.5
BTW: I can also do the update with the script path. I have done it on my machine anyways... shall I???
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #35 on: October 29, 2007, 11:11:39 am »
Why is this so inconsistent, have done a rebuild all. Or are those pch's biting me again ??
Nope - there were simply some missing includes in the project files. I'll update the project files for Windows accordingly (had the same issue).

but they should be missing on 4.2.1 also ?? And there I could build ok.

Thanks for sorting this out Martin, kind of hectic here in the office

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #36 on: October 29, 2007, 11:12:15 am »
for some reason, CBgames don't compile on my machine with MINGW.3.4.5
BTW: I can also do the update with the script path. I have done it on my machine anyways... shall I???

That would be very nice, don'tforget the contrib plugins ;-)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9488
Re: The 27-31 October 2007 build will NOT be out.
« Reply #37 on: October 29, 2007, 11:23:30 am »
That would be very nice, don'tforget the contrib plugins ;-)
Massive CBP update and script moving done. I hope it'll work again now. Could any MinGW 3.4.5 user please give it a try? I (hopefully) didn't forget anything...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6466
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #38 on: October 29, 2007, 12:27:34 pm »
That would be very nice, don'tforget the contrib plugins ;-)
Massive CBP update and script moving done. I hope it'll work again now. Could any MinGW 3.4.5 user please give it a try? I (hopefully) didn't forget anything...

I just compiled CodeBlocks.cbp OK using MinGW GCC 3.4.5.

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #39 on: October 29, 2007, 12:55:33 pm »
me too (and contribs) : ok

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6466
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #40 on: October 29, 2007, 04:03:17 pm »
Patch submitted to wxWidgets that helps to reduce warnings in compiling code::blocks

Tim S

http://sourceforge.net/tracker/index.php?func=detail&aid=1822143&group_id=9863&atid=309863

Requires code below to be added to file wx/dlimpexp.h.

Code: [Select]
/* wx-2.9 introduces new macros for forward declarations, include them
 * here for forward compatibility:
 
   GCC warns about using __attribute__ (and also __declspec in mingw32 case) on
   forward declarations while MSVC complains about forward declarations without
   __declspec for the classes later declared with it, so we need a separate set
   of macros for forward declarations to hide this difference:
 */
#if (defined(__WINDOWS__) && defined(__GNUC__))
    #define WXDLLIMPEXP_FWD_BASE
    #define WXDLLIMPEXP_FWD_NET
    #define WXDLLIMPEXP_FWD_CORE
    #define WXDLLIMPEXP_FWD_ADV
    #define WXDLLIMPEXP_FWD_QA
    #define WXDLLIMPEXP_FWD_HTML
    #define WXDLLIMPEXP_FWD_GL
    #define WXDLLIMPEXP_FWD_XML
    #define WXDLLIMPEXP_FWD_XRC
    #define WXDLLIMPEXP_FWD_AUI
    #define WXDLLIMPEXP_FWD_RICHTEXT
    #define WXDLLIMPEXP_FWD_MEDIA
    #define WXDLLIMPEXP_FWD_STC
#else
    #define WXDLLIMPEXP_FWD_BASE      WXDLLIMPEXP_BASE
    #define WXDLLIMPEXP_FWD_NET       WXDLLIMPEXP_NET
    #define WXDLLIMPEXP_FWD_CORE      WXDLLIMPEXP_CORE
    #define WXDLLIMPEXP_FWD_ADV       WXDLLIMPEXP_ADV
    #define WXDLLIMPEXP_FWD_QA        WXDLLIMPEXP_QA
    #define WXDLLIMPEXP_FWD_HTML      WXDLLIMPEXP_HTML
    #define WXDLLIMPEXP_FWD_GL        WXDLLIMPEXP_GL
    #define WXDLLIMPEXP_FWD_XML       WXDLLIMPEXP_XML
    #define WXDLLIMPEXP_FWD_XRC       WXDLLIMPEXP_XRC
    #define WXDLLIMPEXP_FWD_AUI       WXDLLIMPEXP_AUI
    #define WXDLLIMPEXP_FWD_RICHTEXT  WXDLLIMPEXP_RICHTEXT
    #define WXDLLIMPEXP_FWD_MEDIA     WXDLLIMPEXP_MEDIA
    #define WXDLLIMPEXP_FWD_STC       WXDLLIMPEXP_STC
#endif

Patch to SVN Branch 2.8 for above code addition

Code: [Select]
Index: include/wx/dlimpexp.h
===================================================================
--- include/wx/dlimpexp.h (revision 49512)
+++ include/wx/dlimpexp.h (working copy)
@@ -234,22 +234,42 @@
 #define WXDLLEXPORT_DATA WXDLLIMPEXP_DATA_CORE
 
 /* wx-2.9 introduces new macros for forward declarations, include them
- * here for forward compatibility: */
-#define WXDLLIMPEXP_FWD_BASE      WXDLLIMPEXP_BASE
-#define WXDLLIMPEXP_FWD_NET       WXDLLIMPEXP_NET
-#define WXDLLIMPEXP_FWD_CORE      WXDLLIMPEXP_CORE
-#define WXDLLIMPEXP_FWD_ADV       WXDLLIMPEXP_ADV
-#define WXDLLIMPEXP_FWD_QA        WXDLLIMPEXP_QA
-#define WXDLLIMPEXP_FWD_ODBC      WXDLLIMPEXP_ODBC
-#define WXDLLIMPEXP_FWD_DBGRID    WXDLLIMPEXP_DBGRID
-#define WXDLLIMPEXP_FWD_HTML      WXDLLIMPEXP_HTML
-#define WXDLLIMPEXP_FWD_GL        WXDLLIMPEXP_GL
-#define WXDLLIMPEXP_FWD_XML       WXDLLIMPEXP_XML
-#define WXDLLIMPEXP_FWD_XRC       WXDLLIMPEXP_XRC
-#define WXDLLIMPEXP_FWD_AUI       WXDLLIMPEXP_AUI
-#define WXDLLIMPEXP_FWD_RICHTEXT  WXDLLIMPEXP_RICHTEXT
-#define WXDLLIMPEXP_FWD_MEDIA     WXDLLIMPEXP_MEDIA
-#define WXDLLIMPEXP_FWD_STC       WXDLLIMPEXP_STC
+ * here for forward compatibility:
+
+   GCC warns about using __attribute__ (and also __declspec in mingw32 case) on
+   forward declarations while MSVC complains about forward declarations without
+   __declspec for the classes later declared with it, so we need a separate set
+   of macros for forward declarations to hide this difference:
+ */
+#if (defined(__WINDOWS__) && defined(__GNUC__))
+    #define WXDLLIMPEXP_FWD_BASE
+    #define WXDLLIMPEXP_FWD_NET
+    #define WXDLLIMPEXP_FWD_CORE
+    #define WXDLLIMPEXP_FWD_ADV
+    #define WXDLLIMPEXP_FWD_QA
+    #define WXDLLIMPEXP_FWD_HTML
+    #define WXDLLIMPEXP_FWD_GL
+    #define WXDLLIMPEXP_FWD_XML
+    #define WXDLLIMPEXP_FWD_XRC
+    #define WXDLLIMPEXP_FWD_AUI
+    #define WXDLLIMPEXP_FWD_RICHTEXT
+    #define WXDLLIMPEXP_FWD_MEDIA
+    #define WXDLLIMPEXP_FWD_STC
+#else
+    #define WXDLLIMPEXP_FWD_BASE      WXDLLIMPEXP_BASE
+    #define WXDLLIMPEXP_FWD_NET       WXDLLIMPEXP_NET
+    #define WXDLLIMPEXP_FWD_CORE      WXDLLIMPEXP_CORE
+    #define WXDLLIMPEXP_FWD_ADV       WXDLLIMPEXP_ADV
+    #define WXDLLIMPEXP_FWD_QA        WXDLLIMPEXP_QA
+    #define WXDLLIMPEXP_FWD_HTML      WXDLLIMPEXP_HTML
+    #define WXDLLIMPEXP_FWD_GL        WXDLLIMPEXP_GL
+    #define WXDLLIMPEXP_FWD_XML       WXDLLIMPEXP_XML
+    #define WXDLLIMPEXP_FWD_XRC       WXDLLIMPEXP_XRC
+    #define WXDLLIMPEXP_FWD_AUI       WXDLLIMPEXP_AUI
+    #define WXDLLIMPEXP_FWD_RICHTEXT  WXDLLIMPEXP_RICHTEXT
+    #define WXDLLIMPEXP_FWD_MEDIA     WXDLLIMPEXP_MEDIA
+    #define WXDLLIMPEXP_FWD_STC       WXDLLIMPEXP_STC
+#endif
 
 #endif /* _WX_DLIMPEXP_H_ */
 
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline byo

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 837
Re: The 27-31 October 2007 build will NOT be out.
« Reply #41 on: October 29, 2007, 09:46:45 pm »
Byo is the only one using wxPropertyGrid. I think you should just wait for him to finish his update to the most recent version (which has been talked of a few weeks ago). Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.

Ok, I'll start working on wxPropertyGrid, but it may take a while (over a week in the worst case), don't have much time now.

BYO

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5142
Re: The 27-31 October 2007 build will NOT be out.
« Reply #42 on: October 29, 2007, 09:48:08 pm »
well, with the current change those warnings are also gone.
But maybe the latest wxPropertyGrid has a better solution (dunno, since I dunno that code)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6466
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #43 on: October 30, 2007, 02:09:24 am »
Patch to get rid of 6 warnings building C::B project. Note, this patch is NOT MSVC compatible, but should work OK with GCC. Is it worth it to reduce the warnings by 6 for someone to test this under Linux and Mac?
I tested with MinGW GCC 4.2 SJLJ and it compiled OK. The only option I used was "-Wno-write-strings" and I had no warnings. Note, I used a patched wxWidgets 2.8.x.

Tim S

Code: [Select]
Index: src/include/propgrid/include/wx/propgrid/odcombo.h
===================================================================
--- src/include/propgrid/include/wx/propgrid/odcombo.h (revision 4580)
+++ src/include/propgrid/include/wx/propgrid/odcombo.h (working copy)
@@ -37,8 +37,8 @@
     #define wxPGRectContains    Contains
 #endif
 
-class WXDLLEXPORT wxTextCtrl;
-class WXDLLEXPORT wxButton;
+class wxTextCtrl;
+class wxButton;
 
 #ifdef WXMAKINGLIB_PROPGRID
     #define WXDLLEXPORT_PGODC
Index: src/include/xtra_res.h
===================================================================
--- src/include/xtra_res.h (revision 4580)
+++ src/include/xtra_res.h (working copy)
@@ -10,7 +10,7 @@
 #endif
 
 
-class WXDLLEXPORT wxXmlResourceHandler;
+class wxXmlResourceHandler;
 
 class wxToolBarAddOnXmlHandler : public wxXmlResourceHandler
 {
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6466
    • My Best Post
Re: The 27-31 October 2007 build will NOT be out.
« Reply #44 on: October 30, 2007, 02:13:22 am »
Byo is the only one using wxPropertyGrid. I think you should just wait for him to finish his update to the most recent version (which has been talked of a few weeks ago). Then wxPropertyGrid will be gone from the Code::Blocks SDK anyway, and possibly the warnings are magically gone too.

Ok, I'll start working on wxPropertyGrid, but it may take a while (over a week in the worst case), don't have much time now.

BYO

FYI: They just released a new version of wxPropertyGrid 1.2.10

Tim S
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org