Menu

#11 Patch for Solaris 8 w/ GCC 3.0.4

open
None
5
2002-07-22
2002-07-19
No

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.

Discussion

  • Aaron Goldstein

    Aaron Goldstein - 2002-07-19

    Patch for Solaris 8, GCC 3.0.4

     
  • Bastiaan Bakker

    Bastiaan Bakker - 2002-07-22

    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?

     
  • Bastiaan Bakker

    Bastiaan Bakker - 2002-07-22
    • assigned_to: nobody --> bastiaan
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.