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

trunk compile error.

    XMLWordPrintableJSON

Details

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

    Description

      1.
      compile error and intermit. ,:
      syslogappender.cpp:290: instantiated from here /usr/include/c++/3.2.3/bits/basic_string.h:688: no type named `
      iterator_category' in `struct std::iterator_traits<int>'

      this is a stl type incomplete , i replace all std::string append a char as bellow example.
      sbuf.append(1, 0x3E /* '>' */);
      ====>
      sbuf.append(1, (char)0x3E /* '>' */);

      2. compile socketservertestcase.cpp ,because it not found teh ::fork() function
      and i include the head file :

      inlcude <unistd.h>

      Attachments

        Activity

          People

            carnold@apache.org Curt Arnold
            clxnj@vip.sina.com clx
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: