Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-313

Build process fails in case of absence of iconv support in apr-util

    XMLWordPrintableJSON

    Details

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

      Description

      Class APRCharsetDecoder is defined in src/main/cpp/charsetdecoder.cpp in case of APR_HAS_XLATE != 0 definition (in apr-util: apu.h), while on line 480 we see this usage:

      #if APR_HAS_XLATE || !defined(_WIN32)
      return new APRCharsetDecoder(charset);
      #else
      throw IllegalArgumentException(charset);
      #endif

      So we have a not win32 platform and we have APR_HAS_XLATE == 0, this way we have not defined APRCharsetDecoder class but still use it!

      And there are some more files with such issues.

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              cbuh Aleksandr Vinokurov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: