Hi, I have another compile-error here with the current cvs: g++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include -I../include -I/usr/include/libxml2 -DLOG4CXX -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -I/usr/local/apr/include/apr-1 -D_REENTRANT -g -O2 -MT relativetimedateformat.lo -MD -MP -MF .deps/relativetimedateformat.Tpo -c relativetimedateformat.cpp -fPIC -DPIC -o .libs/relativetimedateformat.o relativetimedateformat.cpp: In member function `virtual void log4cxx::helpers::RelativeTimeDateFormat::format(log4cxx::LogString&, long long int, log4cxx::helpers::Pool&) const': relativetimedateformat.cpp:41: error: call of overloaded `toString( apr_int64_t&, log4cxx::helpers::Pool&)' is ambiguous ../include/log4cxx/helpers/stringhelper.h:52: error: candidates are: static log4cxx::LogString log4cxx::helpers::StringHelper::toString(int, log4cxx::helpers::Pool&) ../include/log4cxx/helpers/stringhelper.h:56: error: static log4cxx::LogString log4cxx::helpers::StringHelper::toString(long long int, log4cxx::helpers::Pool&) ../include/log4cxx/helpers/stringhelper.h:60: error: static log4cxx::LogString log4cxx::helpers::StringHelper::toString(long unsigned int, log4cxx::helpers::Pool&) make[1]: *** [relativetimedateformat.lo] Fehler 1 make[1]: Leaving directory `/home/tommi/Projekte/cvs/logging-log4cxx/src' make: *** [all-recursive] Fehler 1
It looks like int, log4cxx_int64_t and size_t are the same type or at least they are ambiguous. They are all 64-bit signed here (SuSE 9.2 64-bit) I think. Tommi
