This patch fixes the issues I had building log4cpp
v0.2.7 under Solaris 8 using the GCC 3.0.4 compiler.
Thus, there are two more or less unrelated sets of changes.
In the tests directory, 'Clock.cpp' and 'testbench.cpp'
had a few references to "endl" changed to "std::endl".
The other changes relate to making log4cpp work under
Solaris 8 as a shared object.
WARNINGS:
This patch has not been heavily tested. It is known to
work on one computer, in one application. This patch
is definitely not suitable for thread-safe applications.
Patch for Solaris 8, GCC 3.0.4
Logged In: YES
user_id=8050
Hi Aaron,
Thanks for the patch. Could you please give some explanation
on the
nature of the problem? I'm interested to know whether it
actually is
fixes a bug in log4cpp or rather works around dynamic linker
brokeness
in Solaris.
Log4cpp 0.3.x uses an anonymous namespace instead of a 'static'
declaration (as recommended by the C++ standard). Could you
please check
if this approach gives the same problem as the old 'static'
approach?