Page 1 of 1

GCC 4.4.1 build patch

Posted: Mon May 25, 2009 1:24 pm
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

Re: GCC 4.4.1 build patch

Posted: Mon May 25, 2009 2:19 pm
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