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

try fix 64bit log4cxx_intptr_t

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 0.10.0
    • None
    • None
    • Linux x86_64/Gentoo/glibc-2.3.5/gcc-3.4.4

    Description

      Hi

      This patch is made working with the version from http://littletux.homelinux.org/log4cxx/

      The following patch removes a warning when compiling on AMD64 because
      log4cxx uses "int" to store pointers when sizeof(int) == 4 and
      sizeof(void*) == 8 on AMD64. It is generally more portable to use long
      (still this is not a perfect solution, a perfect solution involves
      proper autoconf checks and/or usage of <stdint.h> intptr_t type).

      Attachments

        1. log4cxx-64bit-fix.diff
          0.5 kB
          Mihai Rusu
        2. threadid.patch
          5 kB
          Andreas Hartmann
        3. threadid.patch
          5 kB
          Andreas Hartmann

        Activity

          People

            carnold@apache.org Curt Arnold
            dizzy Mihai Rusu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: