On Jul 25, 2007, at 11:57 PM, Rajan Phatak wrote:
Hi Curt,
I am using Visual Studio 6.0
In version log4cxx-0.9.7, Unicode Release build is also provided.
So as in
my project I am using the macro UNICODE for Unicode build, I am not
getting
any errors. But when I use the DLL of log4cxx 0.10.0 directly, I
get the
errors during the string conversions.
If you were using stream insertion operations in LOG4CXX macros, that
is:
LOG4CXX_DEBUG("i = " << i);
I would expect it as that was deprecated a couple years back since it
seemed impossible to extend to support both byte and multi-byte
character strings. That seems to be a recurring enough issue, that I
plan on reviewing to see if I can find some trick to get it to work
while still being able to do:
LOG4CXX_DEBUG(L"Hello, World");
If you are running into something else, please let us know so we can
address it.
Also I could not build the ANT build as I could not exactly get the
versions
of the Jars which were specified in INSTALL file. When I used their
latest
versions I was getting some build errors. Is it possible to make
the build
using Visual Studio?
Could you provide the errors? The release should include IDE files
generated by Ant for several different IDEs. But since those are
derived files, they aren't in the SVN.
One more question -
I read the line "The log4cxx distributions contain only sources.
log4cxx-0.9.7 is significantly out of date" . So should we continue
to use
log4cxx version 0.9.7 in our project.
-Rajan
Sorry, I thought that was about as clear as I could make it. Don't
use log4cxx 0.9,7 for new stuff, there are a lot of known problems
and if you run into any problems, you are on your own.