I've compiled C::B with GCC-4.1.1 in Windows. I deleted the sdk folder and then downloaded again from svn. That solved the problem.
SVN number problem is solved. But there is one more issue. In the start page the the SVN date is wrongly printed. Please look at the following line which I'm getting in the Start Page.
svn build rev 3607 (2007-02-14T15:36:18.174745Z) gcc 4.1.1 Windows/unicode
svn info --xml --non-interactive command returns date as-
<date>2007-02-14T15:36:18.174745Z</date>
It needs to be parsed properly by
autorevision.exe before it generates
autorevision.h file. I'm using the following patch to solve the problem.
Index: src/build_tools/autorevision/autorevision.cpp
===================================================================
--- src/build_tools/autorevision/autorevision.cpp (revision 3607)
+++ src/build_tools/autorevision/autorevision.cpp (working copy)
@@ -123,7 +123,11 @@
revision = e->Attribute("revision") ? e->Attribute("revision") : "";
TiXmlElement *d = e->FirstChildElement("date");
if(d && d->GetText())
+ {
date = d->GetText();
+ date = date.substr(0, date.find_first_of('T')) + " "
+ + date.substr(date.find_first_of('T') + 1, date.find_first_of('.') - date.find_first_of('T') - 1);
+ }
return 1;
}
Regards,
Biplab