GCC 4.4.1 build patch

Discussion about CodeLite development process and patches
Loaden
CodeLite Enthusiast
Posts: 35
Joined: Sat May 02, 2009 1:56 pm
Contact:

GCC 4.4.1 build patch

Post by Loaden »

When use GCC 4 build CL, found some error:

CodeLite\expression_result.cpp
CodeLite\function.cpp

D:/ycdeng/codelite/CodeLite/function.cpp:29: error: 'stdout' was not declared in this scope
D:/ycdeng/codelite/CodeLite/function.cpp:38: error: 'fprintf' was not declared in this scope
D:/ycdeng/codelite/CodeLite/function.cpp:42: error: 'fflush' was not declared in this scope

D:/ycdeng/codelite/CodeLite/expression_result.cpp:16: error: 'printf' was not declared in this scope
D:/ycdeng/codelite/CodeLite/expression_result.cpp: In member function 'std::string ExpressionResult::ToString() const':
D:/ycdeng/codelite/CodeLite/expression_result.cpp:30: error: 'sprintf' was not declared in this scope
You do not have the required permissions to view the files attached to this post.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: GCC 4.4.1 build patch

Post by eranif »

I cant accept this patch, since the modified files are not the correct files.

For example:

the file CodeLite/function.cpp is a copy of CxxParser/function.cpp, so you will need to fix that file and then trigger post build event for the workpace located under 'CxxParser/CxxParser.workspace'

Which version are you using? since I remember that I already fixed those errors (since revision 2824)

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