Building TableConvert from the fresh SVN snapshot:

bash$ ~/A5/tmto-svn/tinkering/A5Util/TableConvert$ make
g++ -O2 -o TableCompare TableCompare.cpp DeltaReader.cpp SSDreader.cpp 
SSDwriter.cpp DeltaWriter.cpp  MultiFileReader.cpp Factory.cpp      
MultiFileWriter.cpp Md5Writer.cpp md5.cpp IndexWriter.cpp
IndexWriter.cpp: In constructor ‘IndexWriter::IndexWriter(std::string&, 
std::string&, unsigned int)’:
IndexWriter.cpp:63: error: invalid conversion from ‘const char*’ to ‘char*’
make: *** [TableCompare] Error 1

After changing the offending line IndexWriter.cpp:63 from
char* colon = strchr(path.c_str(),':');

to 
const char* colon = strchr(path.c_str(),':');

the compilation goes fine.
I do not feel (yet) confident enough in the project to send a patch ;-)

D.
_______________________________________________
A51 mailing list
[email protected]
http://lists.lists.reflextor.com/cgi-bin/mailman/listinfo/a51

Reply via email to