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 »

Hi
Here is a patch to compile CodeLite with gcc TDM 4.4.0 under MSW :

Code: Select all

Index: clindexerprotocol.cpp
===================================================================
--- clindexerprotocol.cpp	(revision 2877)
+++ clindexerprotocol.cpp	(working copy)
@@ -1,5 +1,6 @@
 #include "clindexerprotocol.h"
 #include <memory>
+#include <stdio.h>
 
 #define ACK_MAGIC 1975
 
Jérémie
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 »

Eran

Do you plan to fixe this ?
Jérémie
User avatar
eranif
CodeLite Plugin
Posts: 6375
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 »

I already fixed it once, but I missed out the fact that this file CodeLite\clindexerprotocol.cpp is copied from the codelite_indexer workspace so it override your patch.

I now fixed it in the correct place sdk/codelite_indexer/network/clindexerprotocol.cpp

Eran
Make sure you have read the HOW TO POST thread
Post Reply