Patch to compile with TDM gcc 4.4.0

Discussion about CodeLite development process and patches
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Patch to compile with TDM gcc 4.4.0

Post by jfouche »

Code: Select all

Index: fc_fileopener.cpp
===================================================================
--- fc_fileopener.cpp	(revision 3241)
+++ fc_fileopener.cpp	(working copy)
@@ -1,4 +1,6 @@
 #include "fc_fileopener.h"
+#include <cstdio>
+
 fcFileOpener* fcFileOpener::ms_instance = 0;
 
 fcFileOpener::fcFileOpener()
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Patch to compile with TDM gcc 4.4.0

Post by eranif »

Can u give me a link to download a good MinGW4.4.0? Perhaps its time to move to 4.4.0 for me as well..

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Patch to compile with TDM gcc 4.4.0

Post by jfouche »

I think you found it ;) (rev 3242)
I personnaly use the one from TDragon, because it's more often up to date... But it's not good in production. I keep my gcc 3.4.5 in my company.
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Patch to compile with TDM gcc 4.4.0

Post by eranif »

jfouche wrote:I personnaly use the one from TDragon, because it's more often up to date... But it's not good in production
I moved codelite to GCC4.4.0, but not the version from TDM, but I built my own setup from the MinGW site.

It looks pretty stable to me (at least from what I saw), the next release will include 4.4.0 as part of the package (the same way 3.4.5 was bundled with codelite)

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: Patch to compile with TDM gcc 4.4.0

Post by jfouche »

eranif wrote:It looks pretty stable to me (at least from what I saw)
Sure, The one provided by the official mingw release is stable. The problem comes from the TDM release (which are explicitly unofficial, not provided for production use), which have sometimes 'big' bugs (4.4.1r1 was very buggy). But the 4.4.0 is very stable for me (for the use i do).
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Patch to compile with TDM gcc 4.4.0

Post by eranif »

jfouche wrote: Sure, The one provided by the official mingw release is stable. The problem comes from the TDM release (which are explicitly unofficial, not provided for production use), which have sometimes 'big' bugs (4.4.1r1 was very buggy). But the 4.4.0 is very stable for me (for the use i do).
This is why I dont like 'un-official' releases and decided to build the entire package from what the MinGW team provides.

The package that will come with codelite is stable and is not from unofficial sources
Btw, the codelite package will include also gdb 7.0 and WX built with gcc4.4.0
Eran
Make sure you have read the HOW TO POST thread
Post Reply