Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux

      Description

      The LOG4CXX macros use a temporary ostringstream variable named oss which hides other declarations. For example, the following will print blanks.

      ostringstream oss(“some stuff”);
      LOG4CXX_INFO(logger, oss);

      Possible fix is to use namespace with the temp variable.

      It's a trivial bug, but a pain to track down.

        Activity

        Curt Arnold made changes -
        Field Original Value New Value
        Fix Version/s 0.9.8 [ 10782 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Curt Arnold added a comment -

        Implementation of LOG4CXX_* macros in current CVS do not have this issue.

        Show
        Curt Arnold added a comment - Implementation of LOG4CXX_* macros in current CVS do not have this issue.
        Jeff Hoffman created issue -

          People

          • Assignee:
            Michaël CATANZARITI
            Reporter:
            Jeff Hoffman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development