User forums > General (but related to Code::Blocks)

TDM-GCC 4.3.3 (TDM-1) for MinGW (with installer)

<< < (4/10) > >>

ironhead:

--- Quote from: TDragon on August 30, 2008, 05:36:02 am ---As with previous 4.3 builds, minor modifications were necessary in the C::B sources.
--- End quote ---

Are they significant modifications?

stahta01:

--- Quote from: ironhead on September 02, 2008, 05:01:55 pm ---
--- Quote from: TDragon on August 30, 2008, 05:36:02 am ---As with previous 4.3 builds, minor modifications were necessary in the C::B sources.
--- End quote ---

Are they significant modifications?

--- End quote ---

No, just several minor ones. Here's three that had to be done a month ago; I have not tried it since then.

Tim S

Note: This is not a complete list of changes needed, but a good sample of how complex they are.


--- Code: ---Index: src/CodeBlocks.cbp
===================================================================
--- src/CodeBlocks.cbp (revision 5083)
+++ src/CodeBlocks.cbp (working copy)
@@ -384,7 +384,6 @@
  <Option type="3" />
  <Option compiler="gcc" />
  <Compiler>
- <Add option="-include sdk.h" />
  <Add option="-DBUILDING_PLUGIN" />
  <Add directory="include" />
  <Add directory="include\scripting\include" />
Index: src/include/projectloader_hooks.h
===================================================================
--- src/include/projectloader_hooks.h (revision 5106)
+++ src/include/projectloader_hooks.h (working copy)
@@ -40,7 +40,7 @@
       * The isLoading argument is true if your hook is called when the project is being loaded,
       * and false when the project is saved.
       */
-    template<class T> class DLLIMPORT HookFunctor : public HookFunctorBase
+    template<class T> class HookFunctor : public HookFunctorBase
     {
         public:
             typedef void (T::*Func)(cbProject*, TiXmlElement*, bool);
Index: src/include/editor_hooks.h
===================================================================
--- src/include/editor_hooks.h (revision 5106)
+++ src/include/editor_hooks.h (working copy)
@@ -40,7 +40,7 @@
       * The isLoading argument is true if your hook is called when the project is being loaded,
       * and false when the project is saved.
       */
-    template<class T> class DLLIMPORT HookFunctor : public HookFunctorBase
+    template<class T> class HookFunctor : public HookFunctorBase
     {
         public:
             typedef void (T::*Func)(cbEditor*, wxScintillaEvent&);

--- End code ---

killerbot:
any reason why we would not apply this already today ?

TDragon:

--- Quote from: ironhead on September 02, 2008, 05:01:55 pm ---Are they significant modifications?

--- End quote ---
They are one-liner workarounds for GCC bugs, and are required in order to build C::B. I would not classify them as significant.


--- Quote from: stahta01 on September 02, 2008, 06:17:58 pm ---Here's three that had to be done a month ago; I have not tried it since then.

--- End quote ---
It hasn't changed; this is exactly what was necessary.

-John E. / TDM

ironhead:

--- Quote from: killerbot on September 02, 2008, 08:36:39 pm ---any reason why we would not apply this already today ?

--- End quote ---

Would be nice if they could be...  I'd like to avoid possible collisions when doing an SVN update.  :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version