Log4cxx
  1. Log4cxx
  2. LOGCXX-115

SVN head does not compile with Borland C++ compiler

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: Build
    • Labels:
      None

      Description

      log4cxx no longer compiles with the Borland C++ compiler that shipped with CBuilderX. Compile errors occur in include/log4cxx/pattern/classnamepatternconverter.h, src/charsetencoder.cpp, src/charsetdecoder.cpp. Several warnings, possibly significant, are reported by the BCC compiler which are not seen (possibly suppressed) with other compilers.

        Activity

        Hide
        Curt Arnold added a comment -

        Check LOG4CXX-126 (console appender) when Borland build is restored.

        Show
        Curt Arnold added a comment - Check LOG4CXX-126 (console appender) when Borland build is restored.
        Hide
        Curt Arnold added a comment -

        Able to compile log4cxx with BCC 5.5, however still issues with the link which likely can be fixed in cpptasks.

        APR has its issues, gid_t and uid_t in apr.h are removed from apr.h. __dup2 and __setmode should be dup2 and setmode.

        The major change was in the generated name for the specializations of Class to represent the class of Object's. Those names had been formed by just prepending "Class" to the class name. Unfortunately, is a NamePatternConverter (abstract base class of anything that format a name and can use an abbreviation) and a ClassNamePatternConverter (converts a class name). The previous pattern resulted in a collision between the class description of NamePatternConverter and the thing that convers a class name. Changed the macros so that the class descriptions prepend with Clazz.

        Show
        Curt Arnold added a comment - Able to compile log4cxx with BCC 5.5, however still issues with the link which likely can be fixed in cpptasks. APR has its issues, gid_t and uid_t in apr.h are removed from apr.h. __dup2 and __setmode should be dup2 and setmode. The major change was in the generated name for the specializations of Class to represent the class of Object's. Those names had been formed by just prepending "Class" to the class name. Unfortunately, is a NamePatternConverter (abstract base class of anything that format a name and can use an abbreviation) and a ClassNamePatternConverter (converts a class name). The previous pattern resulted in a collision between the class description of NamePatternConverter and the thing that convers a class name. Changed the macros so that the class descriptions prepend with Clazz.

          People

          • Assignee:
            Curt Arnold
            Reporter:
            Curt Arnold
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development