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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.0
    • None
    • Build
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: