in log4cxx_private.hw revision 606089, the "#define
LOG4CXX_FORCE_WIDE_CONSOLE 1" was removed. now, if this is not defined,
SystemErrWriter::write() uses fwide() to determine whether to write
wchar or char and fortunately, fwide() happens to be unimplemented in
the msvc libraries. i think in this case, LOG4CXX_FORCE_WIDE_CONSOLE
should be 1 on a UNICODE build, and 0 otherwise? (or maybe there is
another way to better handle this). for now, i just defined it again in
log4cxx_private.h.

(yes, latest svn head and log4cxx(_private).h rebuilt from *.hw)

thanks, christoph

Reply via email to