Log4cxx
  1. Log4cxx
  2. LOGCXX-116

SVN head does not compiler with MinGW 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

      src/thread.cpp does not compile with MinGW gcc 3.2.3 reporting that Thread::run's implementation does not match its prototype though other compilers compile it successfully and I can see no obvious difference between prototype and implementation signature.

        Activity

        Hide
        Curt Arnold added a comment -

        Rewrote the prototype with a typedef for the Thread runnable function and MinGW's gcc (3.4.2) would compile it. I'm guessing it was some sort of class scoping issue that caused the compiler not to recognize the implementation as matching the prototype.

        Committed rev 491168.

        Show
        Curt Arnold added a comment - Rewrote the prototype with a typedef for the Thread runnable function and MinGW's gcc (3.4.2) would compile it. I'm guessing it was some sort of class scoping issue that caused the compiler not to recognize the implementation as matching the prototype. Committed rev 491168.
        Hide
        Curt Arnold added a comment -

        Check LOGCXX-126 (console appender) fix when MinGW build is fixed.

        Show
        Curt Arnold added a comment - Check LOGCXX-126 (console appender) fix when MinGW build is fixed.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development